Documentation ¶
Index ¶
Constants ¶
View Source
const (
HardNewLine = " \n"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Basic ¶
type Basic struct {
// contains filtered or unexported fields
}
func (Basic) Placeholder ¶
type Factory ¶
Factory describes a function which can convert a Raw tag into a normal Tag. If the resulting Tag does not return nil on Tag.Children(), it means that the children have been consumed and the next factory call should get a new slice.
type Raw ¶
type Raw struct { Type Type `json:"type,omitempty"` Placeholder string `json:"placeholder,omitempty"` Filename string `json:"filename,omitempty"` Line int `json:"line,omitempty"` Value string `json:"value,omitempty"` }
Raw represents a not yet processed tag.
type Tag ¶
type Tag interface { Type() Type // String can be used to render the whole tag including the children. // The format may be chosen by the implementation, but it has to fit to the // other interface used implementations. String() string Placeholder() string }
Tag which was parsed from the code.
func ProjectLink ¶
Click to show internal directories.
Click to hide internal directories.