Add postgres package

This commit is contained in:
2016-12-19 18:43:24 +01:00
parent f759600db1
commit c0d6ae1157
2 changed files with 36 additions and 0 deletions

14
user.go Normal file
View File

@ -0,0 +1,14 @@
package budgeteer
type User struct {
ID int
Email string
Password string
}
type UserService interface {
User(id int) (*User, error)
//Users() ([]*User, error)
//CreateUser(u *User) error
//DeleteUser(id int) error
}