opaque

package
v0.0.0-...-b228686 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type String

type String struct {
	// contains filtered or unexported fields
}

String wraps a string to avoid displaying it inadvertently.

Use Value() to get the actual string

Note: It is not a simple alias to type string to prevent concatenation with string and conversion to string

func NewString

func NewString(value string) *String

func (String) Format

func (ostr String) Format(s fmt.State, verb rune)

func (String) GoString

func (ostr String) GoString() string

func (*String) Normalize

func (ostr *String) Normalize()

func (*String) SetValue

func (ostr *String) SetValue(newVal string)

func (String) String

func (ostr String) String() string

func (String) Value

func (ostr String) Value() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL