14 lines
240 B
Go
14 lines
240 B
Go
|
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,
|
||
|
))
|
||
|
}
|