Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
markekraus committed Mar 18, 2022
1 parent 4a97792 commit 985cb4f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,18 @@

A Generic Stack (FILO/LIFO) package for Go

```bash
go get github.com/markekraus/genstack
```

```go
package main

import (
"fmt"
genstack "github.com/markekraus/genstack/pkg"
)

func main() {
s := genstack.New[int]()
fmt.Printf("elements: %v, want: %v\n", s.Len(), 0)
Expand Down

0 comments on commit 985cb4f

Please sign in to comment.