Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWikiSyntax = errors.New("invalid wiki syntax") ErrGlobalPrefix = errgo.Wrap(ErrWikiSyntax, "missing prefix '{{Infobox' at the start") ErrGlobalSuffix = errgo.Wrap(ErrWikiSyntax, "missing '}}' at the end") ErrArrayNoClose = errgo.Wrap(ErrWikiSyntax, "array should be closed by '}'") ErrArrayItemWrapped = errgo.Wrap(ErrWikiSyntax, "array item should be wrapped by '[]'") ErrExpectingNewField = errgo.Wrap(ErrWikiSyntax, "missing '|' to start a new field") ErrExpectingSignEqual = errgo.Wrap(ErrWikiSyntax, "missing '=' to separate field name and value") )
Functions ¶
This section is empty.
Types ¶
type Wiki ¶
func ParseOmitError ¶
ParseOmitError try to parse a string as wiki, omitting error.
Click to show internal directories.
Click to hide internal directories.