New creates a String from a list of values.
(items ...string)
| 28 | |
| 29 | // New creates a String from a list of values. |
| 30 | func NewString(items ...string) String { |
| 31 | ss := String{} |
| 32 | ss.Insert(items...) |
| 33 | return ss |
| 34 | } |
| 35 | |
| 36 | // StringKeySet creates a String from a keys of a map[string](? extends interface{}). |
| 37 | // If the value passed in is not actually a map, this will panic. |
no test coverage detected