From 3b6f48371a219a2d697538348377bf68277600f3 Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Mon, 10 Sep 2018 20:56:59 +1000 Subject: [PATCH] Add godoc link. --- .circleci/config.yml | 2 +- README.md | 2 +- camelcase.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 53f457b..56fa38e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ jobs: command: | go get -v github.com/jstemmer/go-junit-report go get -v -t -d ./... - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s v1.8 + curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s v1.10 mkdir ~/report when: always - run: diff --git a/README.md b/README.md index 9a54198..f69aec9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

-# Kong is a command-line parser for Go [![CircleCI](https://img.shields.io/circleci/project/github/alecthomas/kong.svg)](https://circleci.com/gh/alecthomas/kong) +# Kong is a command-line parser for Go [![](https://godoc.org/github.com/alecthomas/kong?status.svg)](http://godoc.org/github.com/alecthomas/kong) [![CircleCI](https://img.shields.io/circleci/project/github/alecthomas/kong.svg)](https://circleci.com/gh/alecthomas/kong) diff --git a/camelcase.go b/camelcase.go index 7d889b5..acf29f7 100644 --- a/camelcase.go +++ b/camelcase.go @@ -86,5 +86,5 @@ func camelCase(src string) (entries []string) { entries = append(entries, string(s)) } } - return + return entries }