must

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeTrue

func BeTrue(ok bool)

func Byte

func Byte(v byte, err error) byte

func ByteOK

func ByteOK(v byte, ok bool) byte

func Bytes

func Bytes(v []byte, err error) []byte

func BytesOK

func BytesOK(v []byte, ok bool) []byte

func Float32

func Float32(v float32, err error) float32

func Float32OK

func Float32OK(v float32, ok bool) float32

func Float64

func Float64(v float64, err error) float64

func Float64OK

func Float64OK(v float64, ok bool) float64

func Int

func Int(v int, err error) int

func Int16

func Int16(v int16, err error) int16

func Int16OK

func Int16OK(v int16, ok bool) int16

func Int32

func Int32(v int32, err error) int32

func Int32OK

func Int32OK(v int32, ok bool) int32

func Int64

func Int64(v int64, err error) int64

func Int64OK

func Int64OK(v int64, ok bool) int64

func Int8

func Int8(v int8, err error) int8

func Int8OK

func Int8OK(v int8, ok bool) int8

func IntOK

func IntOK(v int, ok bool) int

func NoError

func NoError(err error)

func Rune

func Rune(v rune, err error) rune

func RuneOK

func RuneOK(v rune, ok bool) rune

func String

func String(v string, err error) string

func StringOK

func StringOK(v string, ok bool) string

func Strings

func Strings(v []string, err error) []string

func StringsOK

func StringsOK(v []string, ok bool) []string

func Uint16

func Uint16(v uint16, err error) uint16

func Uint16OK

func Uint16OK(v uint16, ok bool) uint16

func Uint32

func Uint32(v uint32, err error) uint32

func Uint32OK

func Uint32OK(v uint32, ok bool) uint32

func Uint64

func Uint64(v uint64, err error) uint64

func Uint64OK

func Uint64OK(v uint64, ok bool) uint64

func Uint8

func Uint8(v uint8, err error) uint8

func Uint8OK

func Uint8OK(v uint8, ok bool) uint8

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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