Skip to content
/ set Public

🤲 Effective and minimal set implementation for Go

License

Notifications You must be signed in to change notification settings

danyanya/set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

🤲 Effective and minimal set implementation for Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages