backend/app/zeus/service/lark/internal/config/config.go

18 lines
279 B
Go
Raw Normal View History

2022-01-11 04:00:39 +08:00
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)
}
}