-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Protect now returns a func(goji.Handler) goji.Handler - All web.C.Env usage has been replaced with context.Context - Renamed envError to setEnvError for clarity - ErrorHandler now accepts a goji.Handler instead of a web.Handler - Simplified internal (private) functions that accepted, but did not use, the request context. - Removed support for Go 1.4 as per Goji v2
- Loading branch information
Showing
10 changed files
with
186 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
language: go | ||
sudo: false | ||
go: | ||
- 1.4 | ||
- 1.5 | ||
- tip | ||
|
||
matrix: | ||
include: | ||
- go: 1.5 | ||
- go: tip | ||
|
||
install: | ||
- go get golang.org/x/tools/cmd/vet | ||
|
||
script: | ||
- go get -t -v ./... | ||
- diff -u <(echo -n) <(gofmt -d -s .) | ||
- diff -u <(echo -n) <(gofmt -d .) | ||
- go tool vet . | ||
- go test -v -race ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.