# AirlineCode-go
Building
========

go build

Running
=======

* Make sure you have an etcd environment set up and running on 127.0.0.1:2379
* Make sure you have mysql-server set up and running
* Add mysql to etcd
** etcdctl set /picasso/registry/mysql <addressOnly>
* ./AirlineCode

API
===

GET /airline
GET /airline/<IATA>
GET /airline/id/<Id>
GET /airline/country/<Country>

# AirlineCode-go
Building
========

go build

Running
=======

* Make sure you have an etcd environment set up and running on 127.0.0.1:2379
* Make sure you have mysql-server set up and running
* Add a user with credentials picasso:picasso who has full mysql permissions
* Add mysql to etcd
** etcdctl set /picasso/registry/mysql <addressOnly>
* ./AirlineCode

API
===

GET /airline
GET /airline/<IATA>
GET /airline/id/<Id>
GET /airline/country/<Country>

Add the picasso user requirement for mysql
Add the picasso user requirement for mysql
