mirror of
https://github.com/quarkcloudio/quark-go.git
synced 2025-10-05 07:56:58 +08:00
16 lines
247 B
Go
16 lines
247 B
Go
package svc
|
|
|
|
import (
|
|
"github.com/quarkcms/quark-go/examples/zeroadmin/internal/config"
|
|
)
|
|
|
|
type ServiceContext struct {
|
|
Config config.Config
|
|
}
|
|
|
|
func NewServiceContext(c config.Config) *ServiceContext {
|
|
return &ServiceContext{
|
|
Config: c,
|
|
}
|
|
}
|