guard/internal/svc/service_context.go

14 lines
209 B
Go

package svc
import "ark-permission/internal/config"
type ServiceContext struct {
Config config.Config
}
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
Config: c,
}
}