You can using launch.json in your visual studio code
Change system.env
with your environment
- use
go mod tidy
- use
go mod download
- use
go mod vendor
- use command
go run main.go
Migration with makefile
:
make run-migrate
You can access the swagger
{{url}}/docs/index.html
In other documentation in documentation directory, and you can use the postman
postman_collection.json
--header 'Content-Type: application/json' \
--data-raw '{
"email":"user_example_satu@mailinator.com",
"password":"examplepassword"
}'```
#### by **Ahmad Rifai**