We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 69873c0 + f17adbb commit fccecbbCopy full SHA for fccecbb
server.go
@@ -5,6 +5,7 @@ import (
5
"net/http"
6
7
"github.com/golang/glog"
8
+ "github.com/gorilla/context"
9
10
"github.com/haruyama/golang-goji-sample/controllers"
11
"github.com/haruyama/golang-goji-sample/system"
@@ -39,6 +40,7 @@ func main() {
39
40
goji.Use(application.ApplyAuth)
41
goji.Use(application.ApplyIsXhr)
42
goji.Use(application.ApplyCsrfProtection)
43
+ goji.Use(context.ClearHandler)
44
45
controller := &controllers.MainController{}
46
0 commit comments