Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Vocabularies = &VocabularyStore{Vocabularies: map[entity.VocabularyID]*entity.Vocabulary{}}
Functions ¶
Types ¶
type VocabularyStore ¶
type VocabularyStore struct { LastID entity.VocabularyID Vocabularies map[entity.VocabularyID]*entity.Vocabulary }
func (*VocabularyStore) AddVocabulary ¶
func (vs *VocabularyStore) AddVocabulary(vocabulary *entity.Vocabulary) (entity.VocabularyID, error)
Add a new vocabularry
Click to show internal directories.
Click to hide internal directories.