Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attachment ¶
type Attachment struct {
SGID string
ContentType string
Filename string
URL string
Href string
Width string
Height string
Caption string
}
Attachment represents a Basecamp attachment with metadata
func ParseAttachments ¶
func ParseAttachments(htmlContent string) []Attachment
ParseAttachments extracts all bc-attachment elements from HTML content
func (*Attachment) GetDisplayName ¶
func (a *Attachment) GetDisplayName() string
GetDisplayName returns the best display name for the attachment
func (*Attachment) IsImage ¶
func (a *Attachment) IsImage() bool
IsImage returns true if the attachment is an image based on its content type
Click to show internal directories.
Click to hide internal directories.