dskarataev / speedcafe

SpeedCafe prototype written in Golang
http://speedcafe.heroku.com
0 stars 0 forks source link

Integrate go-pg library for working with PostgreSQL #1

Open dskarataev opened 8 years ago

dskarataev commented 8 years ago

We have to setup everything to be able to easy call database from our project. Please use this library https://github.com/go-pg/pg and init it when we start the app and save the database connection to the App.DB or something like this.

We should be able to create migrations as well, this library has some tools for that as well. Please consider should we use migration tool from this library or maybe it's better to use another more professional migrations library.

Create new branch "feature/1" and send pull request to "master" branch when it's done.

andrey-borue commented 8 years ago

start

andrey-borue commented 8 years ago

I forget sort out about migration, I'll do it.