Skip to content

muhammedikinci/gin-layoutrender-boilerplate

Repository files navigation

Gin Layout Boilerplate

Tech Stack

Tech Reason
Mockgen Test
TailwindCss CSS
Viper Configurations
go-bindata Binary Assets

Manual Installation

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/...

Makefile Installation

Install dependencies

make install

Building assets

make build-assets

Run with Makefile

Run with local configuration

make run-local

Run with prod configuration

make run-prod