GetShortOption ...
(option string)
| 11 | |
| 12 | //GetShortOption ... |
| 13 | func GetShortOption(option string) string { |
| 14 | var opt bytes.Buffer |
| 15 | opt.WriteString(optionPrefix) |
| 16 | opt.WriteString(option) |
| 17 | return opt.String() |
| 18 | } |
| 19 | |
| 20 | func DiscardIfEmpty(value string) *string { |
| 21 | if len(value) > 0 { |
no test coverage detected