Update README.md
This commit is contained in:
parent
948e031645
commit
f83c452899
12
README.md
12
README.md
|
@ -56,6 +56,18 @@ spew.Fprintf(someWriter, "myVar1: %v -- myVar2: %+v", myVar1, myVar2)
|
|||
}
|
||||
```
|
||||
|
||||
## Sample Formatter Output
|
||||
|
||||
Double pointer to a uint8 via %v:
|
||||
```
|
||||
<**>5
|
||||
```
|
||||
|
||||
Circular struct with a uint8 field and a pointer to itself via %+v:
|
||||
```
|
||||
{ui8:1 c:<*>(0xf84002d200){ui8:1 c:<*>(0xf84002d200)<shown>}}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Go-spew is licensed under the liberal ISC License.
|
||||
|
|
Loading…
Reference in New Issue