Documentation ¶
Index ¶
- Variables
- func Apply[T any](opt T, opts ...func(T)) T
- func IfThenElse[T any](cond bool, this, that T) T
- func Nop(...any)
- func Ref[T any](v T) *T
- func Val[T any](v *T) T
- func Yield[T any](v T) func() T
- type Decoder
- type Encoder
- type ErrorWrapper
- type Errors
- type Formatter
- type GoStringer
- type Parser
- type ScanState
- type Scanner
- type State
- type Stringer
- type WrapError
- type XMLName
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NonNil = struct{}{} Errorf = fmt.Errorf Fprintf = fmt.Fprintf Printf = func(format string, a ...any) (n int, err error) { return Fprintf(new(bytes.Buffer), format, a...) } Sprintf = fmt.Sprintf Fprint = fmt.Fprint Print = func(a ...any) (n int, err error) { return Fprint(new(bytes.Buffer), a...) } Sprint = fmt.Sprint Fprintln = fmt.Fprintln Println = func(a ...any) (n int, err error) { return Fprintln(new(bytes.Buffer), a...) } Sprintln = fmt.Sprintln Scan = fmt.Scan Scanln = fmt.Scanln Scanf = fmt.Scanf Sscan = fmt.Sscan Sscanln = fmt.Sscanln Sscanf = fmt.Sscanf Fscan = fmt.Fscan Fscanln = fmt.Fscanln Fscanf = fmt.Fscanf )
Functions ¶
func IfThenElse ¶
Types ¶
type ErrorWrapper ¶
type GoStringer ¶
type GoStringer = fmt.GoStringer
type Parser ¶
type WrapError ¶
func (*WrapError) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.