viper-app/internal/config/config.go

12 lines
219 B
Go
Raw Normal View History

package config
2023-02-03 16:18:31 +08:00
import (
"demo-server/internal/config/logger"
"demo-server/internal/config/server"
2023-02-03 16:18:31 +08:00
)
type Configuration struct {
Log *logger.Config `mapstructure:"log"`
Svr *server.Config `mapstructure:"server"`
}