Rename author to authors and subject to tags

This commit is contained in:
Las Zenow 2016-07-30 07:36:58 -04:00
parent e72de38725
commit 7f9c172853
17 changed files with 37 additions and 39 deletions

View file

@ -5,15 +5,14 @@ import (
"time"
)
// TODO: Author -> Authors, Subject -> Tags
type Book struct {
Id string
Title string
Author []string `sql:"authors" pg:",array"`
Authors []string `sql:"authors" pg:",array"`
Contributor string
Publisher string
Description string
Subject []string `sql:"tags" pg:",array"`
Tags []string `sql:"tags" pg:",array"`
Date string
Lang string
Isbn string