Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.2.0
type Config struct {
HeadSize int `default:"10" toml:"head_size"`
ItemSize int `default:"10" toml:"item_size"`
Theme string `default:"dracula" toml:"theme"`
}
Config represents a configuration of the application.
type Snippet ¶
type Snippet struct {
ID string `toml:"id"`
Name string `toml:"name"`
Content string `toml:"content"`
Path string `toml:"path"`
URL string `toml:"url"`
ColoredContent string
}
Snippet represents a snippet.
func (*Snippet) FillAllFields ¶ added in v0.2.0
FillAllFields fills the all fields according to the text template.
func (*Snippet) ToClipboard ¶
ToClipboard writes its content to the clipboard.
Click to show internal directories.
Click to hide internal directories.
