typeconv

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Unused = 0

Variables

This section is empty.

Functions

func String2Bool

func String2Bool(v *bool, s string) error

func String2Float32

func String2Float32(v *float32, s string) error

func String2Float64

func String2Float64(v *float64, s string) error

func String2Int

func String2Int(v *int, s string) error

func String2Int16

func String2Int16(v *int16, s string) error

func String2Int32

func String2Int32(v *int32, s string) error

func String2Int64

func String2Int64(v *int64, s string) error

func String2Int8

func String2Int8(v *int8, s string) error

func String2Object

func String2Object(obj any, s string) error

func String2Uint

func String2Uint(v *uint, s string) error

func String2Uint16

func String2Uint16(v *uint16, s string) error

func String2Uint32

func String2Uint32(v *uint32, s string) error

func String2Uint64

func String2Uint64(v *uint64, s string) error

func String2Uint8

func String2Uint8(v *uint8, s string) error

func ToBytes

func ToBytes(v any) ([]byte, error)

func ToString

func ToString(v any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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