Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultDataPath = "~/.gomorphy/data" HTTPHeaderLastModified = "Last-Modified" )
Variables ¶
View Source
var ( ErrUnmarshal = errors.New("unmarshal") ErrMarshal = errors.New("marshal") ErrUnknownNode = errors.New("unknown node") ErrEmptyValue = errors.New("empty value") ErrChildrenError = errors.New("node children") ErrIndexSize = errors.New("index size") ErrUnexpectedItem = errors.New("unexpected item") )
View Source
var ErrPath = errors.New("path")
ErrPath represents filepath related errors.
Functions ¶
func DomainDataPath ¶
func DomainFilePath ¶
func GetDataPath ¶
func GetDataPath() string
func MakeDomainDataPath ¶
Types ¶
type Dictionary ¶
type DomainDataLoader ¶
type DomainDataLoader interface {
GetDataPath() string
}
DomainDataLoader requires implementation declares methods to deal with remote data and storage path.
Click to show internal directories.
Click to hide internal directories.