marshalastic

package
v0.84.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Any

func Any(v interface{}) anyV

func Bool

func Bool(v bool) boolV

Bool returns stringer/JSON marshaler interface implementation for the bool type.

func Boolp

func Boolp(p *bool) boolP

Bool returns stringer/JSON marshaler interface implementation for the pointer to the bool type.

func Bytes

func Bytes(v []byte) bytesV

Bytes returns stringer/JSON marshaler interface implementation for the byte slice type.

func Bytesp

func Bytesp(p *[]byte) bytesP

Bytesp returns stringer/JSON marshaler interface implementation for the pointer to the byte slice type.

func Complex128

func Complex128(v complex128) complex128V

Complex128 returns stringer/JSON marshaler interface implementation for the complex128 type.

func Complex128p

func Complex128p(p *complex128) complex128P

Complex128p returns stringer/JSON marshaler interface implementation for the pointer to the complex128 type.

func Complex64

func Complex64(v complex64) complex64V

Complex64 returns stringer/JSON marshaler interface implementation for the complex64 type.

func Complex64p

func Complex64p(p *complex64) complex64P

Complex64p returns stringer/JSON marshaler interface implementation for the pointer to the complex64 type.

func Duration

func Duration(v time.Duration) durationV

Duration returns stringer/JSON marshaler interface implementation for the time duration type.

func Durationp

func Durationp(p *time.Duration) durationP

Durationp returns stringer/JSON marshaler interface implementation for the pointer to the time duration type.

func Error

func Error(v error) errorV

Error returns stringer/JSON marshaler interface implementation for the error type.

func Float32

func Float32(v float32) float32V

Float32 returns stringer/JSON marshaler interface implementation for the float32 type.

func Float32p

func Float32p(p *float32) float32P

Float32p returns stringer/JSON marshaler interface implementation for the pointer to the float32 type.

func Float64

func Float64(v float64) float64V

Float64 returns stringer/JSON marshaler interface implementation for the float64 type.

func Float64p

func Float64p(p *float64) float64P

Float64p returns stringer/JSON marshaler interface implementation for the pointer to the float64 type.

func Int

func Int(v int) intV

Int returns stringer/JSON marshaler interface implementation for the int type.

func Int16

func Int16(v int16) int16V

Int16 returns stringer/JSON marshaler interface implementation for the int16 type.

func Int16p

func Int16p(p *int16) int16P

Int16p returns stringer/JSON marshaler interface implementation for the pointer to the int16 type.

func Int32

func Int32(v int32) int32V

Int32 returns stringer/JSON marshaler interface implementation for the int32 type.

func Int32p

func Int32p(p *int32) int32P

Int32p returns stringer/JSON marshaler interface implementation for the pointer to the int32 type.

func Int64

func Int64(v int64) int64V

Int64 returns stringer/JSON marshaler interface implementation for the int64 type.

func Int64p

func Int64p(p *int64) int64P

Int64p returns stringer/JSON marshaler interface implementation for the pointer to the int64 type.

func Int8

func Int8(v int8) int8V

Int8 returns stringer/JSON marshaler interface implementation for the int8 type.

func Int8p

func Int8p(p *int8) int8P

Int8p returns stringer/JSON marshaler interface implementation for the pointer to the int8 type.

func Intp

func Intp(p *int) intP

Intp returns stringer/JSON marshaler interface implementation for the pointer to the int type.

func Raw

func Raw(v []byte) rawV

Raw returns stringer/JSON marshaler interface implementation for the raw byte slice.

func Reflect

func Reflect(v interface{}) reflectV

func Runes

func Runes(v []rune) runesV

Runes returns stringer/JSON marshaler interface implementation for the rune slice type.

func Runesp

func Runesp(p *[]rune) runesP

Runesp returns stringer/JSON marshaler interface implementation for the pointer to the rune slice type.

func String

func String(v string) stringV

String returns stringer/JSON marshaler interface implementation for the string type.

func Stringp

func Stringp(p *string) stringP

Stringp returns stringer/JSON marshaler interface implementation for the pointer to the string type.

func Text added in v0.81.0

func Text(v encoding.TextMarshaler) textV

Text returns stringer/JSON marshaler interface implementation for the encoding.TextMarshaler type.

func Time

func Time(v time.Time) timeV

Time returns stringer/JSON marshaler interface implementation for the time time type.

func Timep

func Timep(p *time.Time) timeP

Timep returns stringer/JSON marshaler interface implementation for the pointer to the time time type.

func Uint

func Uint(v uint) uintV

Uint returns stringer/JSON marshaler interface implementation for the uint type.

func Uint16

func Uint16(v uint16) uint16V

Uint16 returns stringer/JSON marshaler interface implementation for the uint16 type.

func Uint16p

func Uint16p(p *uint16) uint16P

Uint16p returns stringer/JSON marshaler interface implementation for the pointer to the uint16 type.

func Uint32

func Uint32(v uint32) uint32V

Uint32 returns stringer/JSON marshaler interface implementation for the uint32 type.

func Uint32p

func Uint32p(p *uint32) uint32P

Uint32p returns stringer/JSON marshaler interface implementation for the pointer to the uint32 type.

func Uint64

func Uint64(v uint64) uint64V

Uint64 returns stringer/JSON marshaler interface implementation for the uint64 type.

func Uint64p

func Uint64p(p *uint64) uint64P

Uint64p returns stringer/JSON marshaler interface implementation for the pointer to the uint64 type.

func Uint8

func Uint8(v uint8) uint8V

Uint8 returns stringer/JSON marshaler interface implementation for the uint8 type.

func Uint8p

func Uint8p(p *uint8) uint8P

Uint8p returns stringer/JSON marshaler interface implementation for the pointer to the uint8 type.

func Uintp

func Uintp(p *uint) uintP

Uintp returns stringer/JSON marshaler interface implementation for the pointer to the uint type.

func Uintptr

func Uintptr(v uintptr) uintptrV

Uintptr returns stringer/JSON marshaler interface implementation for the uintptr type.

func Uintptrp

func Uintptrp(p *uintptr) uintptrP

Uintptrp returns stringer/JSON marshaler interface implementation for the pointer to the uintptr type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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