A complete GO API
- Gorilla mux
- Gorm
Initialize Go's API
Get to the directory
Configure your server you want to listen, by default is in 8098
go run main.go
Open a new CMD terminal
Get to the directory and run the method you want to try
POST Method // go run addUser.go
PATCH Method // go run updateUser.go
DELETE Method // go run deleteUser.go
- Fork it!
- Create your feature branch:
git checkout -b your-branch
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin your-branch
- Submit a PR
Created with 🧡 by Adhir2099