package
module
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Apr 16, 2021
License: Unlicense
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Sets
import "setof"
func main() {
s := setof.Strings("aaa", "bbb", "aaa")
print(len(s)) // 2
s.Update("ccc", "444")
print(s.Contains("123")) // false
print(s.Contains("aaa")) // true
}
Documentation
¶
func Strings(v ...string) strings
Source Files
¶
Click to show internal directories.
Click to hide internal directories.