Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 455 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 455 Bytes

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
  • ./AirlineCode

API

GET /airline GET /airline/ GET /airline/id/ GET /airline/country/