Skip to content

Commit 6bdaf30

Browse files
committed
update readme.
msgp.Marshaler is allowed as data for Post()
1 parent 0da78b5 commit 6bdaf30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func main() {
5151
}
5252
```
5353

54-
`data` must be a value like `map[string]literal`, `map[string]interface{}` or `struct`. Logger refers tags `msg` or `codec` of each fields of structs.
54+
`data` must be a value like `map[string]literal`, `map[string]interface{}`, `struct` or [`msgp.Marshaler`](http://godoc.org/github.com/tinylib/msgp/msgp#Marshaler). Logger refers tags `msg` or `codec` of each fields of structs.
5555

5656
## Setting config values
5757

0 commit comments

Comments
 (0)