-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix issue with golang lint - Update project golang version to 1.18 - Add built-in golangci.yml - Update project golangci.yml - Update built-in Makefile versions - Update project Makefile versions
- Loading branch information
Showing
25 changed files
with
718 additions
and
429 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,6 +1,47 @@ | ||
run: | ||
timeout: 5m | ||
tests: false | ||
skip-dirs: | ||
- vendor | ||
modules-download-mode: vendor | ||
linters: | ||
enable: | ||
- cyclop | ||
- decorder | ||
- dupl | ||
- gocognit | ||
- godot | ||
- gosec | ||
- grouper | ||
- ifshort | ||
- revive | ||
- wrapcheck | ||
linters-settings: | ||
decorder: | ||
dec-order: | ||
- type | ||
- const | ||
- var | ||
- func | ||
disable-dec-order-check: false | ||
disable-init-func-first-check: false | ||
disable-dec-num-check: false | ||
gosec: | ||
exclude-generated: true | ||
grouper: | ||
const-require-single-const: true | ||
const-require-grouping: true | ||
import-require-single-import: true | ||
import-require-grouping: true | ||
type-require-single-type: true | ||
type-require-grouping: true | ||
var-require-single-var: true | ||
var-require-grouping: true | ||
revive: | ||
rules: | ||
- name: exported | ||
- name: context-as-argument | ||
wrapcheck: | ||
ignoreSigRegexps: [] | ||
issues: | ||
max-issues-per-linter: 0 | ||
max-same-issues: 0 | ||
exclude-use-default: false |
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
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,7 +1,9 @@ | ||
ARG GO_VERSION=1.16 | ||
|
||
### Image | ||
ARG GO_VERSION=1.18 | ||
FROM golang:${GO_VERSION} | ||
ARG WIRE_VERSION=v0.5.0 | ||
RUN go get -u -t github.com/google/wire/cmd/wire@${WIRE_VERSION} | ||
|
||
RUN go install github.com/google/wire/cmd/[email protected] | ||
|
||
ENV GO111MODULE=on | ||
ENV GOFLAGS="-mod=vendor" | ||
|
||
ENTRYPOINT ["/go/bin/wire"] |
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
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,33 +1,67 @@ | ||
module github.com/insidieux/inizio | ||
|
||
go 1.16 | ||
go 1.18 | ||
|
||
require ( | ||
github.com/AlecAivazis/survey/v2 v2.2.9 | ||
github.com/Masterminds/goutils v1.1.1 // indirect | ||
github.com/Masterminds/semver v1.5.0 // indirect | ||
github.com/AlecAivazis/survey/v2 v2.3.5 | ||
github.com/Masterminds/sprig v2.22.0+incompatible | ||
github.com/blang/semver/v4 v4.0.0 | ||
github.com/drone/envsubst v1.0.2 | ||
github.com/golang/protobuf v1.4.3 | ||
github.com/drone/envsubst v1.0.3 | ||
github.com/golang/protobuf v1.5.2 | ||
github.com/google/wire v0.5.0 | ||
github.com/hashicorp/go-hclog v0.15.0 | ||
github.com/hashicorp/go-plugin v1.4.0 | ||
github.com/huandu/xstrings v1.3.2 // indirect | ||
github.com/imdario/mergo v0.3.12 // indirect | ||
github.com/mitchellh/copystructure v1.1.1 // indirect | ||
github.com/hashicorp/go-hclog v1.2.1 | ||
github.com/hashicorp/go-plugin v1.4.4 | ||
github.com/pkg/errors v0.9.1 | ||
github.com/rhysd/abspath v0.0.0-20200817132137-9532ba017882 | ||
github.com/sirupsen/logrus v1.8.1 | ||
github.com/spf13/afero v1.5.1 | ||
github.com/spf13/cast v1.3.1 | ||
github.com/spf13/cobra v1.1.3 | ||
github.com/spf13/afero v1.8.2 | ||
github.com/spf13/cast v1.5.0 | ||
github.com/spf13/cobra v1.4.0 | ||
github.com/spf13/pflag v1.0.5 | ||
github.com/spf13/viper v1.7.1 | ||
github.com/stretchr/testify v1.7.0 | ||
github.com/thoas/go-funk v0.7.0 | ||
golang.org/x/mod v0.4.2 | ||
google.golang.org/grpc v1.36.0 | ||
google.golang.org/protobuf v1.25.0 | ||
github.com/spf13/viper v1.12.0 | ||
github.com/stretchr/testify v1.7.2 | ||
github.com/thoas/go-funk v0.9.2 | ||
golang.org/x/mod v0.5.1 | ||
google.golang.org/grpc v1.47.0 | ||
google.golang.org/protobuf v1.28.0 | ||
gopkg.in/yaml.v2 v2.4.0 | ||
) | ||
|
||
require ( | ||
github.com/Masterminds/goutils v1.1.1 // indirect | ||
github.com/Masterminds/semver v1.5.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/fatih/color v1.13.0 // indirect | ||
github.com/fsnotify/fsnotify v1.5.4 // indirect | ||
github.com/google/uuid v1.1.2 // indirect | ||
github.com/hashicorp/hcl v1.0.0 // indirect | ||
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect | ||
github.com/huandu/xstrings v1.3.2 // indirect | ||
github.com/imdario/mergo v0.3.13 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect | ||
github.com/magiconair/properties v1.8.6 // indirect | ||
github.com/mattn/go-colorable v0.1.12 // indirect | ||
github.com/mattn/go-isatty v0.0.14 // indirect | ||
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect | ||
github.com/mitchellh/copystructure v1.2.0 // indirect | ||
github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/mitchellh/reflectwalk v1.0.2 // indirect | ||
github.com/oklog/run v1.0.0 // indirect | ||
github.com/pelletier/go-toml v1.9.5 // indirect | ||
github.com/pelletier/go-toml/v2 v2.0.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/stretchr/objx v0.1.0 // indirect | ||
github.com/subosito/gotenv v1.3.0 // indirect | ||
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect | ||
golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2 // indirect | ||
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect | ||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df // indirect | ||
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd // indirect | ||
gopkg.in/ini.v1 v1.66.4 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.