Documentation ¶
Index ¶
- Variables
- func CompositeWonderWordData(data []models.WonderWord, trans []TransData) []models.WonderWord
- func CompositeWordData(data []models.Word, trans []TransData) []models.Word
- func NewDictionary() *dictionaryService
- func NewTranslate() *translateService
- func NewVisitor(db *couchdb.DB) *visitorService
- type DictionaryService
- type TransData
- type TranslateService
- type VisitorService
Constants ¶
This section is empty.
Variables ¶
View Source
var BucketSize = 100
Functions ¶
func CompositeWonderWordData ¶
func CompositeWonderWordData(data []models.WonderWord, trans []TransData) []models.WonderWord
func CompositeWordData ¶
func NewDictionary ¶
func NewDictionary() *dictionaryService
func NewTranslate ¶
func NewTranslate() *translateService
func NewVisitor ¶
func NewVisitor(db *couchdb.DB) *visitorService
Types ¶
type DictionaryService ¶
type TransData ¶
func MakeTransDataFromWonderWord ¶
func MakeTransDataFromWonderWord(inputs []models.WonderWord) []TransData
func MakeTransDataFromWord ¶
type TranslateService ¶
Directories ¶
Path | Synopsis |
---|---|
Package mock_services is a generated GoMock package.
|
Package mock_services is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.