Skip to content

Commit

Permalink
bugifx panic handler interface and dropped support for golang < 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
donutloop committed Oct 3, 2017
1 parent 63cd511 commit cc6a717
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
@@ -1,11 +1,9 @@
sudo: false
language: go
go:
- 1.6
- 1.7
- 1.8
- 1.9
- tip
before_install:
- go get github.com/mattn/goveralls
script:
Expand Down
2 changes: 1 addition & 1 deletion router_test.go
Expand Up @@ -407,7 +407,7 @@ func TestRouterPanicHandler(t *testing.T) {
router := New()
panicHandled := false

router.PanicHandler = func(rw http.ResponseWriter, r *http.Request, p interface{}) {
router.PanicHandler = func(rw http.ResponseWriter, r *http.Request) {
panicHandled = true
}

Expand Down

0 comments on commit cc6a717

Please sign in to comment.