Skip to content

Commit

Permalink
remove facebookgo/grace
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisaaronland committed Dec 17, 2019
1 parent d0e869a commit f5d0860
Show file tree
Hide file tree
Showing 25 changed files with 57 additions and 1,894 deletions.
3 changes: 1 addition & 2 deletions cmd/rooster/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"flag"
"fmt"
"github.com/aaronland/go-chicken"
"github.com/facebookgo/grace/gracehttp"
"github.com/whosonfirst/go-sanitize"
"io/ioutil"
"log"
Expand Down Expand Up @@ -88,7 +87,7 @@ func main() {
mux.HandleFunc("/", handler)
mux.HandleFunc("/chicken", ch_handler)

err := gracehttp.Serve(&http.Server{Addr: endpoint, Handler: mux})
err := http.ListenAndServe(endpoint, mux)

if err != nil {
log.Fatal(err)
Expand Down
16 changes: 4 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
module github.com/aaronland/go-chicken

go 1.12

require (
github.com/aaronland/go-ucd v0.0.0-20190520134908-684059ca9156
github.com/facebookgo/clock v0.0.0-20150410010913-600d898af40a // indirect
github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51 // indirect
github.com/facebookgo/freeport v0.0.0-20150612182905-d4adf43b75b9 // indirect
github.com/facebookgo/grace v0.0.0-20180705000000-75cf19382434e82df4dd84953f566b8ad23d6e9e
github.com/facebookgo/httpdown v0.0.0-20180706035922-5979d39b15c2 // indirect
github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect
github.com/facebookgo/stats v0.0.0-20151006221625-1b76add642e4 // indirect
github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870 // indirect
github.com/aaronland/go-ucd v12.0.1+incompatible
github.com/cooperhewitt/go-ucd v0.0.0-20170323200852-c4101e1ef9a6 // indirect
github.com/whosonfirst/go-sanitize v0.1.0

)

go 1.12
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
github.com/aaronland/go-ucd v0.0.0-20190520134908-684059ca9156 h1:SsNFRFNm6Gn8DgDZIcImpIXtjeH1Ak2s1SLoVby0dwg=
github.com/aaronland/go-ucd v0.0.0-20190520134908-684059ca9156/go.mod h1:DoKBDoY4iuDSNErkKy6n1SRdUEOLwTm2gy7X3GtUQaI=
github.com/aaronland/go-ucd v12.0.1+incompatible h1:uR/VbmA6SMQ8Ua6HArLEPjKyPFS/uC6n8f+xzJn+VeY=
github.com/aaronland/go-ucd v12.0.1+incompatible/go.mod h1:CadKBZkk96fATzdzz2g0RAdsZXwjDRzH3dwtOHVE4nI=
github.com/cooperhewitt/go-ucd v0.0.0-20170323200852-c4101e1ef9a6 h1:P3t+wrVJz+Cey5VNf/8SYv56kniN8+feDX8dUgSRsA0=
github.com/cooperhewitt/go-ucd v0.0.0-20170323200852-c4101e1ef9a6/go.mod h1:76WUZ+6G1smA8yhoi9mNx95mpMvIPIpeEDAZrEFRK30=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
Expand Down
41 changes: 35 additions & 6 deletions vendor/github.com/aaronland/go-ucd/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 14 additions & 6 deletions vendor/github.com/aaronland/go-ucd/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions vendor/github.com/aaronland/go-ucd/go.mod

This file was deleted.

11 changes: 0 additions & 11 deletions vendor/github.com/aaronland/go-ucd/go.sum

This file was deleted.

21 changes: 0 additions & 21 deletions vendor/github.com/facebookgo/clock/LICENSE

This file was deleted.

104 changes: 0 additions & 104 deletions vendor/github.com/facebookgo/clock/README.md

This file was deleted.

Loading

0 comments on commit f5d0860

Please sign in to comment.