Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TruncateHTML ¶
Types ¶
type ImageCandidate ¶
type ImageCandidates ¶
type ImageCandidates []*ImageCandidate
func ParseSrcSetAttribute ¶
func ParseSrcSetAttribute(attributeValue string) (imageCandidates ImageCandidates)
ParseSrcSetAttribute returns the list of image candidates from the set. https://html.spec.whatwg.org/#parse-a-srcset-attribute
func (ImageCandidates) String ¶
func (c ImageCandidates) String() string
Click to show internal directories.
Click to hide internal directories.