2023-05-15 11:35:10 +08:00

23 lines
264 B
Go

package business
import (
"ocean/ocean/config"
"ocean/ocean/context"
)
type Client struct {
ctx *context.Context
}
func NewClient(cfg *config.Config) *Client {
ctx := &context.Context{
Config: cfg,
}
client := &Client{
ctx: ctx,
}
return client
}