This project is generated from template t-fiber-kafka-gorm.
1. Use make.
- Use make to rename application name.
make name org=<org-name> app=<app-name>
- Use make to build swagger documents.
make swag
- Use make to run your project.
make run
make run env=local
- Use make to wire dependency injection
make wire
- Use make to generate all.
make gen
3. Delete file PLEASE_DELETE_ME.go and fix your code.
How to use gonew template?
1. Install gonew.
go install golang.org/x/tools/cmd/gonew@latest
2. Use this template to create your project.
mkdir <app-name> && \
gonew github.com/lopolopen/t-fiber-kafka-gorm@v<x.y.z> github.com/<org-name>/<app-name> ./<app-name>