adds ability to set an env in the app context

This commit is contained in:
2018-01-04 07:32:15 +00:00
parent 95400f4e69
commit 2d05e42555
7 changed files with 26 additions and 11 deletions
+1
View File
@@ -17,4 +17,5 @@ type Context interface {
Set(key string, value interface{})
Render(status int, rr render.Renderer) error
Redirect(status int, url string) error
Env() string
}