Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
Field holds structure's field metadata.
type RawJsonMask ¶
type RawJsonMask struct {
// contains filtered or unexported fields
}
func New ¶
func New() *RawJsonMask
func (*RawJsonMask) AddFunc ¶
func (jm *RawJsonMask) AddFunc(name string, f func(string) string)
AddFunc adds masking function associated with name.
func (*RawJsonMask) Fields ¶
func (jm *RawJsonMask) Fields(str interface{}, tag string) Fields
Returns fields
Click to show internal directories.
Click to hide internal directories.