A simple RESTFUL API that provides many handy tools to make your life much easier.
This simple app is the implementation of my digiutils library, and also one form of #100DaysOfCode movement 🏃♂️. There is a docker image 🐋 version as well and if you find it useful please give it a star ⭐ or even do your contribution. Cheers 🥂
You can check the live demo here.
Go 1.19.3
or higher.- Swaggo.
- Clone this repository.
- Rename .env.example file to
.env
and change thePORT
value with your desired port. - Then run this command to synchronize all the dependencies.
go mod tidy
- After that run the command below to generate the required files for swaggo.
swag init
- Finally, run the project.
go run .
Open your browser and go to http://localhost:3000/swagger/index.html
.
NOTE: Replace the 3000 with your defined
PORT
value in your.env
file.
Hanif Naufal – @Digisata – [email protected]
Distributed under the MIT license. See LICENSE for more information.
- Fork this repository.
- Create your own branch (
git checkout -b fooBar
). - Commit your changes (
git commit -am 'Add some fooBar'
). - Push to the branch (
git push origin fooBar
). - Create your awesome Pull Request.