2016-05-24 16:41:51 -04:00
|
|
|
package collect
|
|
|
|
|
|
|
|
type StringList []string
|
|
|
|
|
|
|
|
func NewStringList(raw []string) *StringList {
|
|
|
|
list := StringList(raw)
|
|
|
|
return &list
|
|
|
|
}
|
|
|
|
|
2016-08-18 01:56:31 -04:00
|
|
|
func (this StringList) Len() int {
|
|
|
|
return len(this)
|
2016-05-24 16:41:51 -04:00
|
|
|
}
|