Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eftakhairul/go-api-hack
API Hack for Golang
https://github.com/eftakhairul/go-api-hack
Last synced: about 1 month ago
JSON representation
API Hack for Golang
- Host: GitHub
- URL: https://github.com/eftakhairul/go-api-hack
- Owner: eftakhairul
- License: mit
- Created: 2019-11-21T05:09:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-25T19:52:47.000Z (about 5 years ago)
- Last Synced: 2023-03-12T08:03:47.384Z (almost 2 years ago)
- Language: Go
- Size: 27.1 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GO-API-HACK
## Blog Posts - More Information About This Repo
You can find more information about this project/repository and how to use it in following bl
- [Setting Up Swagger Docs for Golang API](https://towardsdatascience.com/setting-up-swagger-docs-for-golang-api-8d0442263641?source=friends_link&sk=224695e91ff6867e3718095f85880b79)### Setting Up
- Replace All Occurrences of `eftakhairul/go-api-hack/cmd` with your username repository name
- Replace All Occurrences of `blueprint` with your desired image name### Adding New Libraries/Dependencies
```bash
go mod vendor
```### Setup CodeClimate
- Go to
- Add Repository
- Go to Test Coverage Tab
- Copy Test Reporter ID
- Go to Travis and Open Settings for Your Repository
- Add Environment Variable: name: `CC_TEST_REPORTER_ID`, value: _Copied from CodeClimate_## Swagger
- Application uses [gin-swagger](https://github.com/swaggo/gin-swagger).
- To generate/update docs use `swag init` (from `/go-project-blueprint/cmd/blueprint`)
- You can find generated docs in `docs` packageTo view docs, navigate to or to for raw _JSON_