setof

package module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2021 License: Unlicense Imports: 1 Imported by: 0

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Strings

func Strings(v ...string) strings

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL