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