Add tokenfield tag editor

This commit is contained in:
Las Zenow 2021-04-30 13:47:59 +00:00
parent 6a3da59c75
commit 02f711aa97
10 changed files with 148 additions and 3 deletions

View file

@ -96,6 +96,10 @@ func (db *pgDB) frontPageUpdater() {
}
}
func (db *pgDB) GetTags() ([]string, error) {
return db.frontPage.Tags, nil
}
func (db *pgDB) getVisitedBooks(num int) (books []Book, err error) {
err = db.sql.Model(&books).
Column("book.*").