Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretString ¶
type SecretString string
Represents a specific string that should be kept secret and should never be exposed. To do that, it implements the MarshalJSON interface to always return the same constant (See SecretStringPublicValue).
Maybe this type should be moved to a shared/app package.
func (SecretString) MarshalJSON ¶
func (s SecretString) MarshalJSON() ([]byte, error)
func (*SecretString) Scan ¶
func (s *SecretString) Scan(src any) error
Implements the Scan interface to enable the use of this type in a monad.
Click to show internal directories.
Click to hide internal directories.