Skip to content

Commit

Permalink
Changed example comment in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
beeker1121 committed Jul 31, 2016
1 parent af164ad commit e1e63ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ item, err := pq.DequeueByPriority(0)
fmt.Println(item.ID) // 1
fmt.Println(item.Priority) // 0
fmt.Println(item.Key) // [0 58 0 0 0 0 0 0 0 1]
fmt.Println(item.Value) // [really long byte slice]
fmt.Println(item.Value) // [105 116 101 109 32 118 97 108 117 101]
fmt.Println(item.ToString()) // item value

// Decode to object.
Expand Down

0 comments on commit e1e63ca

Please sign in to comment.