Documentation
¶
Index ¶
Constants ¶
View Source
const ( GolangTemplateXMLV1 = "golang_template_mxj_v0.1.0" GolangTemplateJSONV1 = "golang_template_json_v0.1.0" GolangTemplateTextV1 = "golang_template_text_v0.1.0" GolangTemplateUnspecifiedV1 = "golang_template_v0.1.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectReader ¶
type ObjectReader interface {
Read() (interface{}, error)
}
type RegexpShorthand ¶
type RegexpShorthand interface { GetFirstMatch(string, string) (string, error) GetAllMatches(string, string) ([]string, error) }
func NewRegexpShorthand ¶
func NewRegexpShorthand() RegexpShorthand
type StreamTransformer ¶
type StreamTransformerFactory ¶
type StreamTransformerFactory interface { IsTransformable() bool GetTransformer(input string) (StreamTransformer, error) }
func NewStreamTransformerFactory ¶
func NewStreamTransformerFactory(tplType string, tplStr string) StreamTransformerFactory
type XMLShorthand ¶
type XMLShorthand interface { GetFirstFull(io.Reader, string) (string, error) GetAllFull(io.Reader, string) ([]string, error) GetFirstInner(io.Reader, string) (string, error) GetAllInner(io.Reader, string) ([]string, error) }
func NewXMLShorthand ¶
func NewXMLShorthand() XMLShorthand
type XMLStringShorthand ¶
type XMLStringShorthand interface { GetFirstFull(string, string) (string, error) GetAllFull(string, string) ([]string, error) GetFirstInner(string, string) (string, error) GetAllInner(string, string) ([]string, error) }
func NewXMLStringShorthand ¶
func NewXMLStringShorthand() XMLStringShorthand
Click to show internal directories.
Click to hide internal directories.