go-base
go-base is my own personal base code to start a new back end server project, feel free to use it if you find this base code helpful 😄
Installation
go mod tidy
Usage
go run cmd/main.go gobase make:migration <file_name>
go run cmd/main.go gobase migrate
go run cmd/main.go gobase migrate:reset
go run cmd/main.go gobase migrate:refresh
go run cmd/main.go gobase migrate:rollback <step>
go run cmd/main.go gobase migrate:status
go run cmd/main.go gobase db:seed
Library used
Contributing
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.
Please make sure to update tests as appropriate.
License