k0kubun/pp

Feature request: Add `pp:"noprint"` tag

quenbyako opened this issue ยท 1 comments

For hiding specific fields in struct:

type SomeObject struct {
	someField   int         // this field will be printed
	HiddenField interface{} `pp:"noprint"` // and this one will not.
}

Hooray! You rock! ๐Ÿค˜๐Ÿค˜๐Ÿค˜๐Ÿค˜๐Ÿค˜๐Ÿค˜