Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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"