24 lines
466 B
Go
Executable File
24 lines
466 B
Go
Executable File
package postgresql
|
|
|
|
import "hamster-tycoon/storage/model"
|
|
|
|
func (db *DatabasePostgreSQL) GetAllGames() ([]*model.Game, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (db *DatabasePostgreSQL) GetGameById(string) (*model.Game, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (db *DatabasePostgreSQL) CreateGame(*model.Game) error {
|
|
return nil
|
|
}
|
|
|
|
func (db *DatabasePostgreSQL) DeleteGame(string) error {
|
|
return nil
|
|
}
|
|
|
|
func (db *DatabasePostgreSQL) UpdateGame(*model.Game) error {
|
|
return nil
|
|
}
|