Archived
1

Refactoring: now we respect gofmt and have some comments

This commit is contained in:
2017-10-18 09:39:50 +04:00
parent 6f374e560e
commit 8dab6c0699
47 changed files with 607 additions and 479 deletions

View File

@@ -8,9 +8,10 @@ import (
"time"
)
// PokememeElement is a struct, which represents `pokememes_elements` table item in databse.
type PokememeElement struct {
Id int `db:"id"`
Pokememe_id int `db:"pokememe_id"`
Element_id int `db:"element_id"`
Created_at time.Time `db:"created_at"`
ID int `db:"id"`
PokememeID int `db:"pokememe_id"`
ElementID int `db:"element_id"`
CreatedAt time.Time `db:"created_at"`
}