Keep count of downladed/viewed books
This commit is contained in:
parent
68ffe6cf5b
commit
71d975c2f7
7 changed files with 109 additions and 91 deletions
|
@ -24,6 +24,7 @@ type Book struct {
|
|||
Active bool `sql:",notnull"`
|
||||
UploadDate time.Time
|
||||
Tsv string
|
||||
Visit *Visit
|
||||
}
|
||||
|
||||
// AddBook to the database
|
||||
|
|
Reference in a new issue