Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Fix example for LPad
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHersh committed Oct 29, 2017
1 parent 52f17b1 commit a7b3e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_byteslice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ func ExampleLPad() {
data := []byte{0x55, 0xDA, 0xBA}

fmt.Printf("%x\n", LPad(data, 5, 0x22))
// Output: 55daba2222
// Output: 222255daba
}

0 comments on commit a7b3e5f

Please sign in to comment.