Open
Description
I noticed that the Post
method only supports passing values typed as interface{}
, for example, only doing this is valid:
ptr := &struct{}{}
fluent.Post("tag", *ptr)
and passes this check
fluent-logger-golang/fluent/fluent.go
Lines 206 to 209 in 993443f
Passing pointers generates error instead. Can we support passing a struct pointer (use .Elem().Field()
to get its fields) and if not, what are possible concerns?
Metadata
Metadata
Assignees
Labels
No labels