Files

14 lines
276 B
Go
Raw Normal View History

2021-10-27 13:27:01 +08:00
package controller
import "SciencesServer/app/service"
type Config struct{ *service.Session }
type ConfigHandle func(session *service.Session) *Config
func NewConfig() ConfigHandle {
return func(session *service.Session) *Config {
return &Config{Session: session}
}
}