| Index: impl/memory/info.go
|
| diff --git a/impl/memory/info.go b/impl/memory/info.go
|
| index fc1b2bf055cd2fa990e5720f6d84324dff831bcf..f793e72d6d5c497c31a4b7b2839075ea2500f8be 100644
|
| --- a/impl/memory/info.go
|
| +++ b/impl/memory/info.go
|
| @@ -63,18 +63,18 @@ func useGID(c context.Context, f func(mod *globalInfoData)) context.Context {
|
| // useGI adds a gae.GlobalInfo context, accessible
|
| // by gae.GetGI(c)
|
| func useGI(c context.Context) context.Context {
|
| - return info.SetFactory(c, func(ic context.Context) info.Interface {
|
| + return info.SetFactory(c, func(ic context.Context) info.RawInterface {
|
| return &giImpl{dummy.Info(), curGID(ic), ic}
|
| })
|
| }
|
|
|
| type giImpl struct {
|
| - info.Interface
|
| + info.RawInterface
|
| *globalInfoData
|
| c context.Context
|
| }
|
|
|
| -var _ = info.Interface((*giImpl)(nil))
|
| +var _ = info.RawInterface((*giImpl)(nil))
|
|
|
| func (gi *giImpl) GetNamespace() (string, bool) {
|
| return gi.getNamespace()
|
| @@ -90,14 +90,6 @@ func (gi *giImpl) Namespace(ns string) (ret context.Context, err error) {
|
| }), nil
|
| }
|
|
|
| -func (gi *giImpl) MustNamespace(ns string) context.Context {
|
| - ret, err := gi.Namespace(ns)
|
| - if err != nil {
|
| - panic(err)
|
| - }
|
| - return ret
|
| -}
|
| -
|
| func (gi *giImpl) AppID() string {
|
| return gi.appID
|
| }
|
|
|