Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新版本gdb.ConfigNode字段更新 #1

Open
JunJunHub opened this issue Jan 26, 2022 · 6 comments
Open

新版本gdb.ConfigNode字段更新 #1

JunJunHub opened this issue Jan 26, 2022 · 6 comments

Comments

@JunJunHub
Copy link

gdb.SetConfigGroup("casbin", gdb.ConfigGroup{
		gdb.ConfigNode{
			Type:     a.DatabaseDriver,
			LinkInfo: a.DatabaseSource,  //Link: a.DatabaseSource
			Role:     "master",
			Weight:   100,
		},
	})
@dobyte
Copy link
Owner

dobyte commented Feb 15, 2022

已经适配了最新的goframe v1.16.6

@daydayup345
Copy link

2.0 有么有适配呢?

@dobyte
Copy link
Owner

dobyte commented Mar 29, 2022

2.0 有么有适配呢?

我这两天尽快适配2.0

@dobyte
Copy link
Owner

dobyte commented Mar 29, 2022

2.0 有么有适配呢?

已经适配goframe v2.0,支持link参数或db实例两种方式。

@darkmice
Copy link

2.3+ 需要适配一下,db.Transaction 参数类型有变化 @dobyte

@dobyte
Copy link
Owner

dobyte commented Feb 27, 2023

好的,晚上抽空适配一下 @darkmice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants