Files

20 lines
312 B
Go
Raw Normal View History

2021-10-27 13:27:01 +08:00
package controller
2021-12-16 13:22:14 +08:00
import (
"SciencesServer/app/service"
)
2021-10-27 13:27:01 +08:00
type Config struct{ *service.Session }
type ConfigHandle func(session *service.Session) *Config
2021-12-16 15:35:44 +08:00
func (c *Config) Basic() {
2021-12-16 13:22:14 +08:00
}
2021-10-27 13:27:01 +08:00
func NewConfig() ConfigHandle {
return func(session *service.Session) *Config {
return &Config{Session: session}
}
}