v2ray-core/common/collect/string_list.go

13 lines
187 B
Go
Raw Normal View History

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