Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Snippet ¶
type Snippet struct {
ID uuid.UUID `json:"id"`
Abbreviation string `json:"abbreviation"`
Body string `json:"body"`
LastUsed time.Time `json:"lastUsed"`
}
func (*Snippet) FormattedString ¶
func (s *Snippet) FormattedString(id bool, abbreviation bool, body bool, lastUsed bool, delimiter string) string
FormattedString returns a string representation of a snippet with specified fields and delimiter.
func (*Snippet) MarshalJSON ¶
func (*Snippet) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.