Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJsonParser ¶
func NewJsonParser(refExt RefExtractorInterface) *jsonParser
func NewXmlParser ¶
func NewXmlParser(refExt RefExtractorInterface) *xmlParser
Types ¶
type RefExtractor ¶
type RefExtractor struct {
// contains filtered or unexported fields
}
func NewRefExtractor ¶
func NewRefExtractor(opts ...RefExtractorOption) (*RefExtractor, error)
func (*RefExtractor) Extract ¶
func (refExt *RefExtractor) Extract(s string) string
TODO serialized multivalue attributes
type RefExtractorInterface ¶
type RefExtractorOption ¶
type RefExtractorOption func(extractor *RefExtractor) error
func WithSuffix ¶
func WithSuffix(s string) RefExtractorOption
Click to show internal directories.
Click to hide internal directories.