My Base Line


Base ini digunakan untuk menjalankan service yang menghasilkan Rest API
- Rest API
- Validation Rest API
- ✨Magic ✨ Code
New Features
Features
- Custom Validation with go playground validator.
- Custom Logger request and response api.
- Custom Port with flag --port
Tech
My Base Go use tech:
- GIN - Awesome Web Framework!
- Validator - Package validator implements value validations for structs and individual fields based on tags.
- Formatter Validator - Awesome custom validator.
Installation
My Base go requires Go v1.18+ to run.
Install the dependencies and devDependencies and start the server.
cd my base
go run main.go
Run With custom port and default port is 8025
go run main.go --port 8000
Docker
My Base is very easy to install and deploy in a Docker container.
By default, the Docker will expose port 8025, so change this within the
Dockerfile if necessary. When ready, simply use the Dockerfile to
build the image.
cd app
docker build -t <youruser>/micro-${name}:${version} .
Contributors

License
MIT
Free Software, Hell Yeah!