repository
0.0.0-20240525202727-400e846c20de
Repository: https://github.com/eduardodeoh/go-poc.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
Golang PoC
Database - PostgreSQL
Install Go package migrate for migrations - CLI Mode
go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
asdf reshim
Database model for this project
Create migrations
make db-migration name=your_migration_name
Run migrations
make db-migrate
Create seed files
make db-seed-file seed_name=your_seed_file_name_here
Seed data
make db-seed
Go Linters
golangci-lint
go install github.com/golangci/golangci-lint/cmd/[email protected]
golangci-lint run ./...
staticcheck
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck ./...
go-critic
go install -v github.com/go-critic/go-critic/cmd/gocritic@latest
gocritic check ./...
Govet
go vet ./...
Gofmt
go fmt ./...