top
(README.md)
Argo
====

[![Build Status](https://travis-ci.org/aodin/argo.svg)](https://travis-ci.org/aodin/argo)

A REST API in Go.

Given an [aspect](https://github.com/aodin/aspect) schema:

```go
import (
    sql "github.com/aodin/aspect"
)

var usersDB = sql.Table("users",
    sql.Column("id", sql.Integer{}),
    sql.Column("name", sql.String{}),
    sql.Column("age", sql.Integer{}),
    sql.Column("password", sql.String{}),
    sql.PrimaryKey("id"),
)
```

Create a REST resource with the table and a `aspect.Connection`:

```go
users := Resource(
    conn,
    Table(usersDB),
)
```

Happy Hacking,

aodin

Imported by 5 package(s)

  1. github.com/aodin/argo-test/server
  2. github.com/aodin/denver
  3. github.com/aodin/denver/crime
  4. github.com/aodin/denver/grocery
  5. github.com/aodin/denver/liquor

Imports 3 package(s)

  1. gopkg.in/yaml.v2
  2. github.com/aodin/aspect
  3. github.com/aodin/aspect/postgres

Test imports 2 package(s)

  1. github.com/stretchr/testify/assert
  2. github.com/stretchr/testify/require