Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lewiswatson/api2go-with-gin-example
https://github.com/lewiswatson/api2go-with-gin-example
api2go dep gin-gonic
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/lewiswatson/api2go-with-gin-example
- Owner: LewisWatson
- License: apache-2.0
- Created: 2017-11-08T06:55:40.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-13T06:48:24.000Z (about 7 years ago)
- Last Synced: 2024-11-15T22:40:41.370Z (about 2 months ago)
- Topics: api2go, dep, gin-gonic
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [api2go] with [gin] example
[![Build Status](https://travis-ci.org/LewisWatson/api2go-with-gin-example.svg?branch=master)](https://travis-ci.org/LewisWatson/api2go-with-gin-example)This application, written in [go], demonstrates using [api2go] with the [gin].
## Build
Dependencies are managed by the [dep] tool. To download dependencies to a `vendor` directory
```bash
dep ensure
```With the dependencies downloaded, we can build the application:
```bash
go build -tags=gingonic
```### Run
Run the static binary:
```bash
./api2go-with-gin-example
```[go]: https://golang.org/ "The Go Programming Language"
[api2go]: https://github.com/manyminds/api2go "JSONAPI.org Implementation for Go"
[gin]: https://github.com/gin-gonic/gin "HTTP web framework written in Go"
[dep]: https://github.com/golang/dep "Go dependency management tool"