v2ray-core/common/collect/string_list.go

13 lines
187 B
Go
Raw Normal View History

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