niki/config/config.go

15 lines
242 B
Go
Raw Normal View History

2023-12-16 07:20:01 +00:00
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"`
}