Documentation ¶
Index ¶
- func Blue(s string) string
- func Error(format string, a ...interface{})
- func GetRequestBody(reqURL string) []byte
- func GetShortURL(url string) string
- func Green(s string) string
- func Info(format string, a ...interface{})
- func Magenta(s string) string
- func Red(s string) string
- func RemoveSpace(s string) string
- func Success(format string, a ...interface{})
- func Trace(format string, a ...interface{})
- func Warning(format string, a ...interface{})
- func Yellow(s string) string
- type BaseArticle
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveSpace ¶
func Trace ¶
func Trace(format string, a ...interface{})
see complete color rules in document in https://en.wikipedia.org/wiki/ANSI_escape_code#cite_note-ecma48-13
Types ¶
type BaseArticle ¶
type BaseArticle struct { Title string `json:"title,omitempty"` URL string `json:"url,omitempty"` Content string `json:"content,omitempty"` }
BaseArticle topic
Click to show internal directories.
Click to hide internal directories.