Compare commits
5 Commits
68d0b099a4
...
96cfe58cb7
Author | SHA1 | Date |
---|---|---|
dependabot[bot] | 96cfe58cb7 | |
dependabot[bot] | 3736eb78f3 | |
sudo pacman -Syu | 44fbdd8b19 | |
sudo pacman -Syu | 59b8cb63c7 | |
sudo pacman -Syu | 33bf38a842 |
|
@ -9,7 +9,6 @@ run:
|
|||
- ".*Mock.*"
|
||||
- ".*_mock.*"
|
||||
- ".*_generated.*"
|
||||
go: "1.18"
|
||||
|
||||
output:
|
||||
sort-results: true
|
||||
|
@ -17,21 +16,18 @@ output:
|
|||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- deadcode
|
||||
- errcheck
|
||||
- gosimple
|
||||
- govet
|
||||
- staticcheck
|
||||
- typecheck
|
||||
- unused
|
||||
- varcheck
|
||||
- errname
|
||||
- errorlint
|
||||
- execinquery
|
||||
- goerr113
|
||||
- gofumpt
|
||||
- gosec
|
||||
- ifshort
|
||||
- importas
|
||||
- makezero
|
||||
- nilnil
|
||||
|
@ -66,9 +62,4 @@ linters-settings:
|
|||
- unreachable
|
||||
- unusedresult
|
||||
staticcheck:
|
||||
go: "1.18"
|
||||
checks: ["all", "-SA1019"]
|
||||
|
||||
issues:
|
||||
new: true
|
||||
fix: true
|
||||
|
|
32
CHANGELOG.md
32
CHANGELOG.md
|
@ -1,5 +1,37 @@
|
|||
# CHANGELOG
|
||||
|
||||
## v0.7.0 (2022-11-01)
|
||||
|
||||
### Added
|
||||
|
||||
- feat: support apache license 2.0 (2022-11-01)
|
||||
|
||||
### Others
|
||||
|
||||
- chore: add comment (2022-11-01)
|
||||
|
||||
- chore: update golangci-lint config (2022-11-01)
|
||||
|
||||
- build(deps): bump github.com/urfave/cli/v2 from 2.20.3 to 2.23.0 (2022-10-31)
|
||||
|
||||
- build(deps): bump github.com/urfave/cli/v2 from 2.20.2 to 2.20.3 (2022-10-24)
|
||||
|
||||
- build(deps): bump github.com/urfave/cli/v2 from 2.19.2 to 2.20.2 (2022-10-17)
|
||||
|
||||
- build(deps): bump github.com/urfave/cli/v2 from 2.17.1 to 2.19.2 (2022-10-10)
|
||||
|
||||
- build(deps): bump github.com/urfave/cli/v2 from 2.16.3 to 2.17.1 (2022-09-29)
|
||||
|
||||
- build(deps): bump github.com/urfave/cli/v2 from 2.15.0 to 2.16.3 (2022-09-12)
|
||||
|
||||
- build(deps): bump github.com/urfave/cli/v2 from 2.14.1 to 2.15.0 (2022-09-09)
|
||||
|
||||
- build(deps): bump github.com/urfave/cli/v2 from 2.14.0 to 2.14.1 (2022-09-05)
|
||||
|
||||
- build(deps): bump github.com/urfave/cli/v2 from 2.11.2 to 2.14.0 (2022-09-01)
|
||||
|
||||
- chore(changelog): generate v0.6.0 (2022-08-16)
|
||||
|
||||
## v0.6.0 (2022-08-16)
|
||||
|
||||
### Added
|
||||
|
|
2
go.mod
2
go.mod
|
@ -5,7 +5,7 @@ go 1.17
|
|||
require (
|
||||
github.com/make-go-great/color-go v0.4.1
|
||||
github.com/make-go-great/ioe-go v0.3.0
|
||||
github.com/urfave/cli/v2 v2.23.0
|
||||
github.com/urfave/cli/v2 v2.23.5
|
||||
)
|
||||
|
||||
require (
|
||||
|
|
8
go.sum
8
go.sum
|
@ -1,4 +1,4 @@
|
|||
github.com/BurntSushi/toml v1.1.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
|
||||
github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
|
||||
github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w=
|
||||
|
@ -14,15 +14,13 @@ github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9
|
|||
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
|
||||
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
|
||||
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
||||
github.com/urfave/cli/v2 v2.23.0 h1:pkly7gKIeYv3olPAeNajNpLjeJrmTPYCoZWaV+2VfvE=
|
||||
github.com/urfave/cli/v2 v2.23.0/go.mod h1:1CNUng3PtjQMtRzJO4FMXBQvkGtuYRxxiR9xMa7jMwI=
|
||||
github.com/urfave/cli/v2 v2.23.5 h1:xbrU7tAYviSpqeR3X4nEFWUdB/uDZ6DE+HxmRU7Xtyw=
|
||||
github.com/urfave/cli/v2 v2.23.5/go.mod h1:GHupkWPMM0M/sj1a2b4wUrWBPzazNrIjouW6fmdJLxc=
|
||||
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU=
|
||||
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8=
|
||||
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c h1:F1jZWGFhYfh0Ci55sIpILtKKK8p3i2/krTr0H1rg74I=
|
||||
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
|
|
|
@ -19,7 +19,7 @@ var ErrInvalidLicense = errors.New("invalid license")
|
|||
//go:embed templates/*
|
||||
var embedFS embed.FS
|
||||
|
||||
// map template name with filename
|
||||
// Map template name with filename and args
|
||||
// always use upercase for license name
|
||||
var templates = map[string]templateInfo{
|
||||
"MIT": {
|
||||
|
|
Loading…
Reference in New Issue