Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: impl/dummy/dummy.go

Issue 1766593002: Add a MustNamespace that panics if the namespace wasn't valid (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: Add MustNamespace to the interface Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « filter/featureBreaker/gi.go ('k') | impl/memory/info.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/dummy/dummy.go
diff --git a/impl/dummy/dummy.go b/impl/dummy/dummy.go
index d5badcfab682b9f8d88c2fd8677dc2db19f99dee..649a6b5f358777f79a9372e4444f3a9ec37ed312 100644
--- a/impl/dummy/dummy.go
+++ b/impl/dummy/dummy.go
@@ -151,6 +151,7 @@ func (i) ServiceAccount() (string, error)
func (i) SignBytes(bytes []byte) (keyName string, signature []byte, err error) { panic(ni()) }
func (i) VersionID() string { panic(ni()) }
func (i) Namespace(namespace string) (context.Context, error) { panic(ni()) }
+func (i) MustNamespace(namespace string) context.Context { panic(ni()) }
func (i) Datacenter() string { panic(ni()) }
func (i) InstanceID() string { panic(ni()) }
func (i) IsDevAppServer() bool { panic(ni()) }
« no previous file with comments | « filter/featureBreaker/gi.go ('k') | impl/memory/info.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698