Tech | Reason |
---|---|
Mockgen | Test |
TailwindCss | CSS |
Viper | Configurations |
go-bindata | Binary Assets |
Go assetsbuild
and install dependencies
npm install
For building css
npx tailwindcss -i ./css/input.css -o ../public/assets/css/index.css
Back to main directory and run
go mod download
Generate assets binary
go-bindata ./public/assets/...
Install dependencies
make install
Building assets
make build-assets
Run with local
configuration
make run-local
Run with prod
configuration
make run-prod