Versions in this module Expand all Collapse all v0 v0.1.1 Feb 21, 2024 v0.1.0 Feb 21, 2024 Changes in this version + const DefaultPerms + const VERSION + func App() *cli.App + func Create(path string) error + func Editor(path string) error + func Exec(command string) error + func Exists(path string) bool + func FormData() *formData + func Input(prompt string) string + func InputConfirm(prompt string) bool + func InsertLine(path, newLine string) error + func InsertLineAtIndex(path, newLine string, index int) error + func List(dir string) []string + func Mkdir(path string) error + func Open(path string) error + func Read(filePath string) (string, error) + func ReadLines(filePath string) ([]string, error) + func Remove(path string) error + func RemoveAll(path string) error + func Write(path string, text string) error + func WriteAppend(path string, text string) error + type Conf struct + Dir string + File string + Id string + func (c Conf) Data() []byte + func (c Conf) Del(key string) error + func (c Conf) DirPath() string + func (c Conf) Edit() error + func (c Conf) Init() error + func (c Conf) OverWrite(newconf any) error + func (c Conf) Path() string + func (c Conf) Print() error + func (c Conf) Query(q string) string + func (c Conf) QueryPrint(q string) + func (c Conf) Set(key string, val any) error + type DiscordMessage struct + AvatarURL string + Content string + Embeds []Embed + TTS bool + Username string + type Embed struct + Author *EmbedAuthor + Color int + Description string + Fields []EmbedField + Footer *EmbedFooter + Image map[string]string + Thumbnail map[string]string + Timestamp string + Title string + URL string + func (e *Embed) EnforceLimits() + type EmbedAuthor struct + IconURL string + Name string + URL string + type EmbedField struct + Inline bool + Name string + Value string + type EmbedFooter struct + IconURL string + Text string