-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: update dependencies * ci: update golanci-lint config * fix: add nolint
- Loading branch information
Showing
8 changed files
with
235 additions
and
1,781 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
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 |
---|---|---|
|
@@ -5,3 +5,6 @@ linters: | |
linters-settings: | ||
goimports: | ||
local-prefixes: github.com/allisson/hammer | ||
gosec: | ||
excludes: | ||
- G115 |
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,26 +1,37 @@ | ||
project_name: hammer | ||
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json | ||
# vim: set ts=2 sw=2 tw=0 fo=cnqoj | ||
version: 2 | ||
|
||
before: | ||
hooks: | ||
- go mod download | ||
|
||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- windows | ||
- darwin | ||
main: ./cmd/hammer/main.go | ||
binary: hammer | ||
|
||
archives: | ||
- replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
windows: Windows | ||
386: i386 | ||
amd64: x86_64 | ||
checksum: | ||
name_template: 'checksums.txt' | ||
snapshot: | ||
name_template: "{{ .Tag }}-next" | ||
- format: tar.gz | ||
name_template: >- | ||
{{ .ProjectName }}_ | ||
{{- title .Os }}_ | ||
{{- if eq .Arch "amd64" }}x86_64 | ||
{{- else if eq .Arch "386" }}i386 | ||
{{- else }}{{ .Arch }}{{ end }} | ||
{{- if .Arm }}v{{ .Arm }}{{ end }} | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
|
||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
- "^docs:" | ||
- "^test:" |
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 |
---|---|---|
|
@@ -9,6 +9,7 @@ import ( | |
) | ||
|
||
func init() { | ||
// nolint:staticcheck | ||
rand.Seed(time.Now().UnixNano()) | ||
} | ||
|
||
|
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,51 +1,55 @@ | ||
module github.com/allisson/hammer | ||
|
||
go 1.19 | ||
go 1.23 | ||
|
||
require ( | ||
github.com/DATA-DOG/go-txdb v0.1.5 | ||
github.com/allisson/go-env v0.3.0 | ||
github.com/DATA-DOG/go-txdb v0.2.0 | ||
github.com/allisson/go-env v0.4.0 | ||
github.com/go-ozzo/ozzo-validation/v4 v4.3.0 | ||
github.com/golang-migrate/migrate/v4 v4.15.2 | ||
github.com/golang/protobuf v1.5.2 | ||
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 | ||
github.com/golang-migrate/migrate/v4 v4.18.1 | ||
github.com/golang/protobuf v1.5.4 | ||
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 | ||
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 | ||
github.com/grpc-ecosystem/grpc-gateway v1.16.0 | ||
github.com/huandu/go-sqlbuilder v1.16.0 | ||
github.com/jmoiron/sqlx v1.3.5 | ||
github.com/joho/godotenv v1.4.0 | ||
github.com/lib/pq v1.10.7 | ||
github.com/huandu/go-sqlbuilder v1.30.1 | ||
github.com/jmoiron/sqlx v1.4.0 | ||
github.com/joho/godotenv v1.5.1 | ||
github.com/lib/pq v1.10.9 | ||
github.com/oklog/ulid/v2 v2.1.0 | ||
github.com/prometheus/client_golang v1.13.0 | ||
github.com/stretchr/testify v1.8.0 | ||
github.com/urfave/cli/v2 v2.19.2 | ||
go.uber.org/zap v1.23.0 | ||
golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458 | ||
google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e | ||
google.golang.org/grpc v1.50.0 | ||
google.golang.org/protobuf v1.28.1 | ||
github.com/prometheus/client_golang v1.20.5 | ||
github.com/stretchr/testify v1.9.0 | ||
github.com/urfave/cli/v2 v2.27.5 | ||
go.uber.org/zap v1.27.0 | ||
golang.org/x/net v0.30.0 | ||
google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 | ||
google.golang.org/grpc v1.67.1 | ||
google.golang.org/protobuf v1.35.1 | ||
) | ||
|
||
require ( | ||
github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.1.2 // indirect | ||
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect | ||
github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/huandu/xstrings v1.3.2 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect | ||
github.com/huandu/xstrings v1.4.0 // indirect | ||
github.com/klauspost/compress v1.17.9 // indirect | ||
github.com/moby/sys/userns v0.1.0 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.37.0 // indirect | ||
github.com/prometheus/procfs v0.8.0 // indirect | ||
github.com/prometheus/client_model v0.6.1 // indirect | ||
github.com/prometheus/common v0.55.0 // indirect | ||
github.com/prometheus/procfs v0.15.1 // indirect | ||
github.com/russross/blackfriday/v2 v2.1.0 // indirect | ||
github.com/stretchr/objx v0.4.0 // indirect | ||
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect | ||
github.com/stretchr/objx v0.5.2 // indirect | ||
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect | ||
go.uber.org/atomic v1.7.0 // indirect | ||
go.uber.org/multierr v1.6.0 // indirect | ||
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
go.uber.org/multierr v1.10.0 // indirect | ||
golang.org/x/sys v0.26.0 // indirect | ||
golang.org/x/text v0.19.0 // indirect | ||
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.