diff --git a/.crete.yml b/.crete.yml new file mode 100644 index 0000000..82574c7 --- /dev/null +++ b/.crete.yml @@ -0,0 +1,5 @@ +--- +template: ../../Crete/crete-go-template/_template + +variables: + GoImportPath: github.com/AlekSi/applehealth diff --git a/.github/dependabot.yml b/.github/dependabot.yml index af314a7..40d9a6d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,4 +1,6 @@ --- +# Generated by crete (https://github.com/AlekSi/crete). DO NOT EDIT. + version: 2 updates: - package-ecosystem: "github-actions" diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d5ae9e9..2867acd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,4 +1,6 @@ --- +# Generated by crete (https://github.com/AlekSi/crete). DO NOT EDIT. + name: Go on: push: diff --git a/.golangci-required.yml b/.golangci-required.yml index 4ca3dc2..577c339 100644 --- a/.golangci-required.yml +++ b/.golangci-required.yml @@ -1,4 +1,6 @@ --- +# Generated by crete (https://github.com/AlekSi/crete). DO NOT EDIT. + # The most valuable linters; they are required to pass for PR to be merged. run: diff --git a/.golangci.yml b/.golangci.yml index 3bce47b..3e1fb85 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,4 +1,6 @@ --- +# Generated by crete (https://github.com/AlekSi/crete). DO NOT EDIT. + # Almost all linters; some of them are optional. run: @@ -18,9 +20,8 @@ linters-settings: linters: enable-all: true disable: - - interfacer # deprecated - - maligned # deprecated - - wsl # too annoying + - nlreturn # too annoying + - wsl # too annoying issues: exclude-use-default: false diff --git a/tools/go.mod b/tools/go.mod index 1c38ad3..c383e55 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,9 +1,11 @@ +// Generated by crete (https://github.com/AlekSi/crete). DO NOT EDIT. + module github.com/AlekSi/applehealth/tools go 1.15 require ( - github.com/golangci/golangci-lint v1.37.1 // sync with GitHub Actions job + github.com/golangci/golangci-lint v1.37.1 // sync with Go workflow github.com/quasilyte/go-consistent v0.0.0-20200404105227-766526bf1e96 golang.org/x/perf v0.0.0-20210220033136-40a54f11e909 mvdan.cc/gofumpt v0.1.0 diff --git a/tools/go.sum b/tools/go.sum index 546e09c..2ae95b9 100644 --- a/tools/go.sum +++ b/tools/go.sum @@ -132,7 +132,6 @@ github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:x github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 h1:23T5iq8rbUYlhpt5DB4XJkc6BU31uODLD1o1gKvZmD0= github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2/go.mod h1:k9Qvh+8juN+UKMCS/3jFtGICgW8O96FVaZsaxdzDkR4= @@ -642,7 +641,6 @@ google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.23.0 h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM= google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/tools/tools.go b/tools/tools.go index ad1cf4e..8925cc9 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -1,3 +1,5 @@ +// Code generated by crete (https://github.com/AlekSi/crete). DO NOT EDIT. + // +build tools package tools // import "github.com/AlekSi/applehealth/tools"