generated from pkg/go-template
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user