I have used more than one package in this project. The project was completed in 13 days. At each stage, I learned new things and improved my knowledge of the golang. My biggest motivation when developing this project was to develop a project with Golang and get a job at Bitaksi. Now just below I will refer to some packages that I use in this project.
List of main packages used
Download or fork projects to your computer. Then open the project in editors like Goland vs Vscode. I recommend goland editor.then open terminal screen type.
- go mod
go mod tidy
For documentation run the following command
- swagger
swag init --parseDependency --parseInternal
For Test
- Test
go test testname_test.go -v
For Run
- Test
go run main.go
we have two api available and two swaggers. We have 6 endpoints in Driver Api, only one of them needs token usage, otherwise it will give an error. We need to use match endpoint with token. the token we need to use is just below.