Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.