6 "golang.org/x/text/cases"
7 "golang.org/x/text/language"
10func Capitalize(text string) string {
11 return cases.Title(language.English, cases.Compact).String(text)
14func ContainsAny(str string, args ...string) bool {
15 for _, arg := range args {
16 if strings.Contains(str, arg) {
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list