| Index: impl/memory/context.go
|
| diff --git a/impl/memory/context.go b/impl/memory/context.go
|
| index 3efaec2f6c6a7b2b197464bdc3e168ef7f542499..4fc2eb200877f6fc21c05a00940f1f5dbdfea016 100644
|
| --- a/impl/memory/context.go
|
| +++ b/impl/memory/context.go
|
| @@ -122,8 +122,10 @@ func UseWithAppID(c context.Context, aid string) context.Context {
|
| memctx := newMemContext(aid)
|
| c = context.WithValue(c, memContextKey, memctx)
|
| c = context.WithValue(c, memContextNoTxnKey, memctx)
|
| - c = context.WithValue(c, giContextKey, &globalInfoData{appid: aid})
|
| - return useMod(useMail(useUser(useTQ(useRDS(useMC(useGI(c, aid)))))))
|
| + c = useGID(c, func(mod *globalInfoData) {
|
| + mod.appid = aid
|
| + })
|
| + return useMod(useMail(useUser(useTQ(useRDS(useMC(useGI(c)))))))
|
| }
|
|
|
| func cur(c context.Context) (p *memContext) {
|
|
|