diff --git a/go.mod b/go.mod index 19a4b45..d248cd7 100644 --- a/go.mod +++ b/go.mod @@ -15,6 +15,6 @@ require ( github.com/octokit/go-octokit v0.4.1-0.20160312003706-812e91dfbd64 // indirect github.com/pkg/errors v0.8.1 github.com/rakyll/gotest v0.0.0-20180125184505-86f0749cd8cc // indirect - github.com/tcnksm/ghr v0.12.1 // indirect + github.com/tcnksm/ghr v0.12.2 // indirect golang.org/x/lint v0.0.0-20190409202823-959b441ac422 // indirect ) diff --git a/go.sum b/go.sum index 458381c..452e4b0 100644 --- a/go.sum +++ b/go.sum @@ -158,6 +158,8 @@ github.com/tcnksm/ghr v0.12.0 h1:3dbJOU5/Nr6C1HeBWwOIvMsVt4/eOg2EQDAg11H0Y0Y= github.com/tcnksm/ghr v0.12.0/go.mod h1:2YSVCxP2GsVRnE6R3bZxEiVnpJ9GUkotqlq2No0kTMU= github.com/tcnksm/ghr v0.12.1 h1:oYNULfAztAbkKopO25yvj6p3vfJxQKsnbuPplVWnQII= github.com/tcnksm/ghr v0.12.1/go.mod h1:tcp6tzbRYE0LqFSG7ykXP/BVG1/2BkX6aIn9FFV1mIQ= +github.com/tcnksm/ghr v0.12.2 h1:amE7jP1fUfKiobp/6Dvdu1FoGs6RuyI8wO4RHMaKXB8= +github.com/tcnksm/ghr v0.12.2/go.mod h1:tcp6tzbRYE0LqFSG7ykXP/BVG1/2BkX6aIn9FFV1mIQ= github.com/tcnksm/go-gitconfig v0.1.2 h1:iiDhRitByXAEyjgBqsKi9QU4o2TNtv9kPP3RgPgXBPw= github.com/tcnksm/go-gitconfig v0.1.2/go.mod h1:/8EhP4H7oJZdIPyT+/UIsG87kTzrzM4UsLGSItWYCpE= github.com/tcnksm/go-latest v0.0.0-20170313132115-e3007ae9052e h1:IWllFTiDjjLIf2oeKxpIUmtiDV5sn71VgeQgg6vcE7k= diff --git a/graphs.go b/graphs.go index 1ec5bd5..252c549 100644 --- a/graphs.go +++ b/graphs.go @@ -44,7 +44,6 @@ type createGraphParam struct { type getGraphsCommand struct { Username string `short:"u" long:"username" description:"User name of graph owner."` } -type getGraphParam struct{} type graphSVGCommand struct { Username string `short:"u" long:"username" description:"User name of graph owner."` diff --git a/test_base.go b/test_base.go index 2afd471..b0afc24 100644 --- a/test_base.go +++ b/test_base.go @@ -15,5 +15,4 @@ func prepare() (string, string, string, string) { func cleanup(beforeAPIBaseEnv string, beforeTokenEnv string) { os.Setenv("PIXELA_API_BASE", beforeAPIBaseEnv) os.Setenv("PIXELA_USER_TOKEN", beforeTokenEnv) - return }