7// StringArray is a type alias for a slice of strings
8type StringArray []string
10// Get returns the slice of strings
11func (a *StringArray) Get() interface{} {
15// Set appends a string to the StringArray
16func (a *StringArray) Set(s string) error {
21// String joins elements of the StringArray into a single comma separated string
22func (a *StringArray) String() string {
23 return strings.Join(*a, ",")
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