forked from ebhomengo/niki
1
0
Fork 0
niki/config/config.go

15 lines
242 B
Go

package config
import (
"git.gocasts.ir/ebhomengo/niki/repository/mysql"
)
type HTTPServer struct {
Port int `koanf:"port"`
}
type Config struct {
HTTPServer HTTPServer `koanf:"http_server"`
Mysql mysql.Config `koanf:"mysql"`
}