Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
linxGnu committed Jul 22, 2021
1 parent 6c41f2e commit f114274
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
)

q, err := pqueue.New("your_path_to_store_data", 1000) // 1000 entries per segment
defer q.Close() // it's important to close the queue before exit

err := q.Enqueue([]byte{1,2,3,4})

Expand Down

0 comments on commit f114274

Please sign in to comment.