Skip to content

Commit

Permalink
register masker
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Nov 26, 2024
1 parent c47f88a commit 965029e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zetaclient/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ func (c Config) StringMasked() string {
// create a masker
masker := mask.NewMasker()
masker.RegisterMaskStringFunc(mask.MaskTypeFilled, masker.MaskFilledString)
masker.RegisterMaskAnyFunc(mask.MaskTypeFilled, masker.MaskZero)

// mask the config
masked, err := masker.Mask(c)
Expand Down

0 comments on commit 965029e

Please sign in to comment.