Add database query function, and some re-factoring

This commit is contained in:
Harshavardhana
2015-01-31 15:45:40 -08:00
parent bc779fcdea
commit 46751f0b28
4 changed files with 42 additions and 20 deletions

View File

@@ -0,0 +1,10 @@
package tiedot
import (
"github.com/HouzuoGuo/tiedot/db"
)
type Database struct {
DBdir string
DBhandle *db.DB
}