v2ray-core/common/collect/string_list.go

13 lines
189 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
}
func (this *StringList) Len() int {
return len(*this)
}