Skip to content
Snippets Groups Projects
Unverified Commit 12f3f0ab authored by Nik's avatar Nik
Browse files

Minor format and vet fixes

parent f07cdfb1
Branches
No related tags found
No related merge requests found
...@@ -50,7 +50,11 @@ func Example() { ...@@ -50,7 +50,11 @@ func Example() {
} }
// This example displays an element in a variety of formats. // This example displays an element in a variety of formats.
func ExampleElement_Format(element *pbc.Element) { func ExampleElement_Format() {
var element *pbc.Element
// ...populate element...
fmt.Printf("%v", element) // Print in PBC format fmt.Printf("%v", element) // Print in PBC format
fmt.Printf("%s", element) // Same as above fmt.Printf("%s", element) // Same as above
fmt.Printf("%36v", element) // Print in PBC format, base 36 fmt.Printf("%36v", element) // Print in PBC format, base 36
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment