Merge branch 'main' into feature/bots

This commit is contained in:
Jason Song authored and GitHub committed 2022-12-08 18:11:18 +08:00
commit 266a122ba2
50 files changed
+135 -73

No files matched your search

+4 -2
View File
@@ -21,8 +21,10 @@ type contextKey struct {
}
// enginedContextKey is a context key. It is used with context.Value() to get the current Engined for the context
var enginedContextKey = &contextKey{"engined"}
var _ Engined = &Context{}
var (
enginedContextKey = &contextKey{"engined"}
_ Engined = &Context{}
)
// Context represents a db context
type Context struct {