generated from pkg/go-template
18 lines
279 B
Go
18 lines
279 B
Go
|
package config
|
||
|
|
||
|
import "git.icechen.cn/monorepo/backend/pkg/config"
|
||
|
|
||
|
type Cfg struct {
|
||
|
LarkAppID string `json:"lark_app_id"`
|
||
|
LarkAppSecret string `json:"lark_app_secret"`
|
||
|
}
|
||
|
|
||
|
var Config Cfg
|
||
|
|
||
|
func init() {
|
||
|
err := config.GetConfig(&Config)
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
}
|