20 lines
315 B
Go
20 lines
315 B
Go
package controller
|
|
|
|
import (
|
|
"SciencesServer/app/service"
|
|
)
|
|
|
|
type Config struct{ *service.Session }
|
|
|
|
type ConfigHandle func(session *service.Session) *Config
|
|
|
|
func (c *Config) Platform() {
|
|
|
|
}
|
|
|
|
func NewConfig() ConfigHandle {
|
|
return func(session *service.Session) *Config {
|
|
return &Config{Session: session}
|
|
}
|
|
}
|