Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goset

CPP-like set in Golang.

Warning: this is NOT a ordered set!

Well tested.

How to use

import "github.com/FunctionSir/goset"
// ... //
someSet := make(Set[int])
someSet.Insert(1)
if someSet.Has(1) {
    // ... //
}
someSet.Erase(1)
if someSet.Size() == 0 {
    // ... //
}

About

CPP-like set in Golang.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages