ldap-1-backend/public/client/feishu/client.go

14 lines
240 B
Go
Raw Normal View History

2022-06-21 20:50:38 +08:00
package feishu
import (
"github.com/chyroc/lark"
"github.com/eryajf/go-ldap-admin/config"
)
func InitFeiShuClient() *lark.Lark {
return lark.New(lark.WithAppCredential(
config.Conf.FeiShu.AppID,
config.Conf.FeiShu.AppSecret,
))
}