Documentation ¶
Index ¶
- func Blue(s string) string
- func GetPwdPath() string
- func Green(s string) string
- func IsDev() bool
- func IsProd() bool
- func OpenWithBrowser(url string) error
- func Rainbow(s string) string
- func Red(s string) string
- func Rpadx(s string, padding int) string
- func StringRegexpReplace(str string, pattern string, replace string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPwdPath ¶
func GetPwdPath() string
func OpenWithBrowser ¶
OpenWithBrowser opens url with default browser. 参考:https://github.com/toqueteos/webbrowser/blob/main/webbrowser.go
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.