Versions in this module Expand all Collapse all v1 v1.1.0 Jan 10, 2022 Changes in this version type Secret + func (s *Secret) Copy() Secret + func (s *Secret) UnmarshalJSON(b []byte) error v1.0.0 Jan 10, 2022 Changes in this version + const DefaultRedact + func CustomRedact(r string) func(*Secret) + func FiveXs(s *Secret) + func Redacted(s *Secret) + type Secret struct + func New(s string, options ...func(*Secret)) Secret + func (s Secret) MarshalJSON() ([]byte, error) + func (s Secret) String() string + func (s Secret) Value() string Other modules containing this package github.com/rsjethani/secret/v2