Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 410 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 410 Bytes

set

🤲 Effective and minimal set implementation for Go

Now support:

  • String set
  • ...

Usage

package main

import (
    "fmt"

    "github.com/danyanya/set"
)

func main() {
    s := set.String{}
    s.Store("aa")

    if s.Load("aa") {
        fmt.Println("aa is in set")
    } else {
        fmt.Println("aa is not in set")
    }
}

Copyright

Made by Sliusar Danya in 2020.