Improve const iota
This commit is contained in:
parent
e9257fe6a7
commit
0362051918
@ -107,23 +107,23 @@ const (
|
||||
|
||||
DEF_LIM = 10
|
||||
|
||||
BOOKS QueryType = iota
|
||||
BOOKS_TAGS QueryType = iota
|
||||
BOOKS_AUTHORS QueryType = iota
|
||||
BOOK QueryType = iota
|
||||
BOOK_TAGS QueryType = iota
|
||||
BOOK_DATA QueryType = iota
|
||||
BOOK_AUTHORS QueryType = iota
|
||||
BOOKS_COUNT QueryType = iota
|
||||
SERIE QueryType = iota
|
||||
SERIES QueryType = iota
|
||||
SERIES_AUTHORS QueryType = iota
|
||||
SERIE_AUTHORS QueryType = iota
|
||||
SERIE_BOOKS QueryType = iota
|
||||
AUTHORS QueryType = iota
|
||||
AUTHOR QueryType = iota
|
||||
AUTHOR_BOOKS QueryType = iota
|
||||
AUTHOR_COAUTHORS QueryType = iota
|
||||
BOOKS QueryType = iota
|
||||
BOOKS_TAGS
|
||||
BOOKS_AUTHORS
|
||||
BOOK
|
||||
BOOK_TAGS
|
||||
BOOK_DATA
|
||||
BOOK_AUTHORS
|
||||
BOOKS_COUNT
|
||||
SERIE
|
||||
SERIES
|
||||
SERIES_AUTHORS
|
||||
SERIE_AUTHORS
|
||||
SERIE_BOOKS
|
||||
AUTHORS
|
||||
AUTHOR
|
||||
AUTHOR_BOOKS
|
||||
AUTHOR_COAUTHORS
|
||||
)
|
||||
|
||||
var QUERIES = map[Query]string{
|
||||
|
Loading…
Reference in New Issue
Block a user