Documentation ¶
Index ¶
- func CaseInsensitiveContains(s, substr string) bool
- func DeSerializeFromFile(path string, object interface{}) error
- func DecodeJson(url string, f func(io.ReadCloser) bool) (bool, error)
- func MatchAnyURL(s string) bool
- func MatchGitCommit(s string) bool
- func RandomFromArray(array []string) string
- func SaveImage(url string) (string, error)
- func SendPhoto(url string, message telebot.Message, bot *telebot.Bot) error
- func SerializeToFile(path string, object interface{}) error
- func StripPluginCommand(str string, prefix string, plugin string) string
- func UrlExt(url string) string
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaseInsensitiveContains ¶
func DeSerializeFromFile ¶
Decode Gob file
func DecodeJson ¶
func MatchAnyURL ¶
Various match functions. Does what they say on the tin
func MatchGitCommit ¶
func RandomFromArray ¶
func SerializeToFile ¶
Encode via Gob to file
Types ¶
Click to show internal directories.
Click to hide internal directories.