viper-app/internal/config/config.go

12 lines
219 B
Go

package config
import (
"demo-server/internal/config/logger"
"demo-server/internal/config/server"
)
type Configuration struct {
Log *logger.Config `mapstructure:"log"`
Svr *server.Config `mapstructure:"server"`
}