Documentation
¶
Overview ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func NewDecoder(doc *encodinghtml.Document, opts ...DecoderOption) (*Decoder, error)
func (*Decoder) GetStatement ¶
type DecoderConfig ¶
type DecoderConfig struct {
// contains filtered or unexported fields
}
func (DecoderConfig) SetVocabularyResolver ¶
func (b DecoderConfig) SetVocabularyResolver(v VocabularyResolver) DecoderConfig
type DecoderOption ¶
type DecoderOption interface {
// contains filtered or unexported methods
}
type DocumentResource ¶
type DocumentResource struct{}
func (*DocumentResource) ContainerResourceString ¶
func (*DocumentResource) ContainerResourceString() string
type VocabularyResolver ¶
type VocabularyResolver interface {
ResolveMicrodataProperty(itemtypes []string, itemprop string) (string, error)
}
var ItemtypeVocabularyResolver VocabularyResolver = &itemtypeVocabularyResolver{}
var LiteralVocabularyResolver VocabularyResolver = &literalVocabularyResolver{}
Click to show internal directories.
Click to hide internal directories.