Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkdika/go-rest-api
Go language REST API example using web framework
https://github.com/mkdika/go-rest-api
example gin golang rest-api
Last synced: about 1 month ago
JSON representation
Go language REST API example using web framework
- Host: GitHub
- URL: https://github.com/mkdika/go-rest-api
- Owner: mkdika
- License: mit
- Created: 2021-02-23T11:04:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-24T03:12:17.000Z (almost 4 years ago)
- Last Synced: 2023-03-03T15:57:27.377Z (almost 2 years ago)
- Topics: example, gin, golang, rest-api
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go REST API
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](/LICENSE)
Go language REST API example using [Gin](https://github.com/gin-gonic/gin) web framework and some awesome libs.
## Build & run
- To build binary
```bash
go build -o ./gorestapi ./cmd/gorestapi
```Then the binary file output will at `./gorestapi`
- To run without building
```bash
go run ./cmd/gorestapi
```## Contributing
1. Fork it ()
2. Create your feature branch. (`git checkout -b my-new-feature`)
3. Commit your changes. (`git commit -am 'Add some feature'`)
4. Push to the branch. (`git push origin my-new-feature`)
5. Create a new Pull Request.## Contributors
- [Maikel Chandika ](https://github.com/mkdika) - creator and maintainer.
## Copyright and License
Copyright 2021 Maikel Chandika ([email protected]). Code released under the MIT License. See [LICENSE](/LICENSE) file.