Documentation ¶
Index ¶
- Constants
- Variables
- type ArtistId
- type ArtistsDict
- func (this *ArtistsDict) AssignIds(artists []string) (ids []ArtistId, added []bool)
- func (this *ArtistsDict) AssignIdsBytes(artists [][]byte) (ids []ArtistId, added []bool)
- func (this *ArtistsDict) ExecuteInsertionStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *ArtistsDict) ExecuteQueryStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *ArtistsDict) Id(artist string) ArtistId
- func (this *ArtistsDict) NameOf(id ArtistId) string
- type AuthorId
- type AuthorsDict
- func (this *AuthorsDict) AssignIds(authors []string) (ids []AuthorId, added []bool)
- func (this *AuthorsDict) AssignIdsBytes(authors [][]byte) (ids []AuthorId, added []bool)
- func (this *AuthorsDict) ExecuteInsertionStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *AuthorsDict) ExecuteQueryStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *AuthorsDict) Id(author string) AuthorId
- func (this *AuthorsDict) NameOf(id AuthorId) string
- type ComicGenreId
- type ComicGenresDict
- func (this *ComicGenresDict) AssignIds(genres []string) (ids []ComicGenreId, added []bool)
- func (this *ComicGenresDict) AssignIdsBytes(genres [][]byte) (ids []ComicGenreId, added []bool)
- func (this *ComicGenresDict) ExecuteInsertionStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *ComicGenresDict) ExecuteQueryStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *ComicGenresDict) Id(genre string) ComicGenreId
- func (this *ComicGenresDict) NameOf(id ComicGenreId) string
- type ComicTagId
- type ComicTagsDict
- func (this *ComicTagsDict) AssignIds(tags []string) (ids []ComicTagId, added []bool)
- func (this *ComicTagsDict) AssignIdsBytes(tags [][]byte) (ids []ComicTagId, added []bool)
- func (this *ComicTagsDict) ExecuteInsertionStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *ComicTagsDict) ExecuteQueryStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *ComicTagsDict) Id(tag string) ComicTagId
- func (this *ComicTagsDict) NameOf(id ComicTagId) string
- type Id
- type JointScanlatorIds
- type LangId
- type LangsDict
- func (this *LangsDict) AssignIds(langs []string) (ids []LangId, added []bool)
- func (this *LangsDict) ExecuteInsertionStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *LangsDict) ExecuteQueryStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *LangsDict) Id(lang string) LangId
- func (this *LangsDict) NameOf(id LangId) string
- type ScanlatorId
- type ScanlatorSlice
- type ScanlatorsDict
- func (this *ScanlatorsDict) AssignIds(scanlators []string) (ids []ScanlatorId, added []bool)
- func (this *ScanlatorsDict) AssignIdsBytes(scanlators [][]byte) (ids []ScanlatorId, added []bool)
- func (this *ScanlatorsDict) ExecuteInsertionStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *ScanlatorsDict) ExecuteQueryStmt(stmt *sql.Stmt, unused ...interface{}) error
- func (this *ScanlatorsDict) Id(scanlator string) ScanlatorId
- func (this *ScanlatorsDict) NameOf(id ScanlatorId) string
Constants ¶
View Source
const ENGLISH_LANG_NAME = "English"
View Source
const MATURE_GENRE_NAME = "Mature"
Variables ¶
View Source
var IdAssigned = eventq.NewEventType()
Functions ¶
This section is empty.
Types ¶
type ArtistsDict ¶
type ArtistsDict struct {
// contains filtered or unexported fields
}
func NewArtistsDict ¶
func NewArtistsDict() ArtistsDict
func (*ArtistsDict) AssignIds ¶
func (this *ArtistsDict) AssignIds(artists []string) (ids []ArtistId, added []bool)
func (*ArtistsDict) AssignIdsBytes ¶
func (this *ArtistsDict) AssignIdsBytes(artists [][]byte) (ids []ArtistId, added []bool)
func (*ArtistsDict) ExecuteInsertionStmt ¶
func (*ArtistsDict) ExecuteQueryStmt ¶
func (*ArtistsDict) Id ¶
func (this *ArtistsDict) Id(artist string) ArtistId
func (*ArtistsDict) NameOf ¶
func (this *ArtistsDict) NameOf(id ArtistId) string
type AuthorsDict ¶
type AuthorsDict struct {
// contains filtered or unexported fields
}
func NewAuthorDict ¶
func NewAuthorDict() AuthorsDict
func (*AuthorsDict) AssignIds ¶
func (this *AuthorsDict) AssignIds(authors []string) (ids []AuthorId, added []bool)
func (*AuthorsDict) AssignIdsBytes ¶
func (this *AuthorsDict) AssignIdsBytes(authors [][]byte) (ids []AuthorId, added []bool)
func (*AuthorsDict) ExecuteInsertionStmt ¶
func (*AuthorsDict) ExecuteQueryStmt ¶
func (*AuthorsDict) Id ¶
func (this *AuthorsDict) Id(author string) AuthorId
func (*AuthorsDict) NameOf ¶
func (this *AuthorsDict) NameOf(id AuthorId) string
type ComicGenreId ¶
type ComicGenreId struct {
// contains filtered or unexported fields
}
func MATURE_GENRE_ID ¶
func MATURE_GENRE_ID() ComicGenreId
func (*ComicGenreId) Scan ¶
func (this *ComicGenreId) Scan(src interface{}) error
func (ComicGenreId) String ¶
func (this ComicGenreId) String() string
type ComicGenresDict ¶
type ComicGenresDict struct {
// contains filtered or unexported fields
}
func NewComicGenresDict ¶
func NewComicGenresDict() ComicGenresDict
func (*ComicGenresDict) AssignIds ¶
func (this *ComicGenresDict) AssignIds(genres []string) (ids []ComicGenreId, added []bool)
func (*ComicGenresDict) AssignIdsBytes ¶
func (this *ComicGenresDict) AssignIdsBytes(genres [][]byte) (ids []ComicGenreId, added []bool)
func (*ComicGenresDict) ExecuteInsertionStmt ¶
func (*ComicGenresDict) ExecuteQueryStmt ¶
func (*ComicGenresDict) Id ¶
func (this *ComicGenresDict) Id(genre string) ComicGenreId
func (*ComicGenresDict) NameOf ¶
func (this *ComicGenresDict) NameOf(id ComicGenreId) string
type ComicTagId ¶
type ComicTagId struct {
// contains filtered or unexported fields
}
func (*ComicTagId) Scan ¶
func (this *ComicTagId) Scan(src interface{}) error
func (ComicTagId) String ¶
func (this ComicTagId) String() string
type ComicTagsDict ¶
type ComicTagsDict struct {
// contains filtered or unexported fields
}
func NewComicTagsDict ¶
func NewComicTagsDict() ComicTagsDict
func (*ComicTagsDict) AssignIds ¶
func (this *ComicTagsDict) AssignIds(tags []string) (ids []ComicTagId, added []bool)
func (*ComicTagsDict) AssignIdsBytes ¶
func (this *ComicTagsDict) AssignIdsBytes(tags [][]byte) (ids []ComicTagId, added []bool)
func (*ComicTagsDict) ExecuteInsertionStmt ¶
func (*ComicTagsDict) ExecuteQueryStmt ¶
func (*ComicTagsDict) Id ¶
func (this *ComicTagsDict) Id(tag string) ComicTagId
func (*ComicTagsDict) NameOf ¶
func (this *ComicTagsDict) NameOf(id ComicTagId) string
type JointScanlatorIds ¶
type JointScanlatorIds string //Can't have slices as keys in maps. Fortunately strings work, so we can pack data in them
func JoinScanlators ¶
func JoinScanlators(ids []ScanlatorId) JointScanlatorIds
func (*JointScanlatorIds) Slice ¶
func (this *JointScanlatorIds) Slice() []ScanlatorId
func (JointScanlatorIds) String ¶
func (this JointScanlatorIds) String() string
type LangId ¶
type LangId struct {
// contains filtered or unexported fields
}
func ENGLISH_LANG_ID ¶
func ENGLISH_LANG_ID() LangId
type LangsDict ¶
type LangsDict struct {
// contains filtered or unexported fields
}
func NewLangDict ¶
func NewLangDict() LangsDict
func (*LangsDict) ExecuteInsertionStmt ¶
func (*LangsDict) ExecuteQueryStmt ¶
type ScanlatorId ¶
type ScanlatorId struct {
// contains filtered or unexported fields
}
func (*ScanlatorId) Scan ¶
func (this *ScanlatorId) Scan(src interface{}) error
func (ScanlatorId) String ¶
func (this ScanlatorId) String() string
type ScanlatorSlice ¶
type ScanlatorSlice []ScanlatorId
func (ScanlatorSlice) Len ¶
func (slice ScanlatorSlice) Len() int
func (ScanlatorSlice) Less ¶
func (slice ScanlatorSlice) Less(i, j int) bool
func (ScanlatorSlice) Swap ¶
func (slice ScanlatorSlice) Swap(i, j int)
type ScanlatorsDict ¶
type ScanlatorsDict struct {
// contains filtered or unexported fields
}
func NewScanlatorsDict ¶
func NewScanlatorsDict() ScanlatorsDict
func (*ScanlatorsDict) AssignIds ¶
func (this *ScanlatorsDict) AssignIds(scanlators []string) (ids []ScanlatorId, added []bool)
func (*ScanlatorsDict) AssignIdsBytes ¶
func (this *ScanlatorsDict) AssignIdsBytes(scanlators [][]byte) (ids []ScanlatorId, added []bool)
func (*ScanlatorsDict) ExecuteInsertionStmt ¶
func (*ScanlatorsDict) ExecuteQueryStmt ¶
func (*ScanlatorsDict) Id ¶
func (this *ScanlatorsDict) Id(scanlator string) ScanlatorId
func (*ScanlatorsDict) NameOf ¶
func (this *ScanlatorsDict) NameOf(id ScanlatorId) string
Click to show internal directories.
Click to hide internal directories.