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

Commit

Permalink
Fix LPad example name
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHersh committed Oct 29, 2017
1 parent 2237d17 commit 52f17b1
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 @@ -9,7 +9,7 @@ func ExampleReverse() {
// Output: bada55
}

func Example() {
func ExampleLPad() {
data := []byte{0x55, 0xDA, 0xBA}

fmt.Printf("%x\n", LPad(data, 5, 0x22))
Expand Down

0 comments on commit 52f17b1

Please sign in to comment.