Documentation
¶
Index ¶
- func FilenameNoExt(file string) string
- func GenHTTPSGitURL(host string, path string) string
- func GenSSHGitURL(host string, path string) string
- func ListMatchFiles(root string, pattern string, ignores []string) []string
- func ListMultiMatchFiles(root string, patterns []string, ignores []string) []string
- func ParseGitURL(url string) (*url.URL, error)
- func RandString(n int) string
- func Tokenize(text string) []*sentences.Sentence
- type MutexMap
- type Unlocker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilenameNoExt ¶
func GenHTTPSGitURL ¶
GenHTTPSGitURL gen a git url in https protocol using host and path
func GenSSHGitURL ¶
GenSSHGitURL gen a git url in ssh protocol using host and path
func ListMultiMatchFiles ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.