repository
0.11.1
Repository: https://github.com/pokt-foundation/utils-go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
Utils Go
The Utils Go package provides common used utility funcs, an HTTP client and more to other Go backend packages.
Pre-Commit Installation
Run the command make init-pre-commit
from the repository root.
Once this is done, the following commands will be performed on every commit to the repo and must pass before the commit is allowed:
- go-fmt - Runs
gofmt
- go-imports - Runs
goimports
- golangci-lint - run
golangci-lint run ./...
- go-critic - run
gocritic check ./...
- go-build - run
go build
- go-mod-tidy - run
go mod tidy -v