I am opening this PR as a suggestion to add the ability to remove some fields from being printed. If this already exists, forgive me for not having noticed it.
The usage would be
type AStruct struct {
Field int `spew:"-"`
}
and the field would be omitted.
The implementation is basic and dirty, but let me know if you'd consider it, we can make it pretty.
I am opening this PR as a suggestion to add the ability to remove some fields from being printed. If this already exists, forgive me for not having noticed it.
The usage would be
and the field would be omitted.
The implementation is basic and dirty, but let me know if you'd consider it, we can make it pretty.