Documentation
¶
Index ¶
Constants ¶
View Source
const (
Version = "v0.1.1"
)
Variables ¶
View Source
var GoCheatOptions = Options{}
global options object
Functions ¶
func CreateConfig ¶
Ensures ~/.config/gocheat/config.json is created with the template and returns the filepath
func UpdateConfig ¶
func UpdateConfig() error
updates config.json with the new Values of the GoCheatOptions config object
Types ¶
type ItemWrapper ¶
type Options ¶
type Options struct {
Items []ItemWrapper `json:"items"`
Styles ThemeWrapper `json:"styles"`
}
type ThemeWrapper ¶
Click to show internal directories.
Click to hide internal directories.