Skip to content

Commit

Permalink
docs: Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
1eedaegon committed Mar 29, 2024
1 parent c7b3de1 commit 0b08e97
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,10 @@ A go library hashset for O(1)
```go
import (
...
port "github.com/1eedaegon/go-hashset"
hashset "github.com/1eedaegon/go-hashset"
...
)

ports := port.Get(3)
// ports is something like []int{10000, 10001, 10002}
```

Or

```go
import (
...
port "github.com/1eedaegon/go-hashset"
...
)

ports := port.GetS(3)
// ports is something like []string{"10000", "10001", "10002"}
```

## License
Expand Down

0 comments on commit 0b08e97

Please sign in to comment.