This commit is contained in:
mr
2024-07-19 13:27:34 +02:00
parent cdc077c59e
commit 3f9814e649
9 changed files with 22 additions and 0 deletions

View File

@@ -30,6 +30,10 @@ type LibData struct {
Err string `bson:"error" json:"error"`
}
func (lb LibData) BindID(id string) {
lb.DataResource.BindID(id)
}
func Init(appName string) {
logs.SetAppName(appName)
logs.SetLogger(logs.CreateLogger("main", ""))