format

package
v0.0.0-...-23544e4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format uint8
const (
	Invalid Format = iota
	Int8
	UInt8
	Int16
	UInt16
	Int32
	UInt32
	Float32
)

func ValueOf

func ValueOf(s string) (f Format)

func (Format) MarshalJSON

func (f Format) MarshalJSON() ([]byte, error)

func (Format) Size

func (f Format) Size() (i int)

func (Format) String

func (f Format) String() (s string)

func (*Format) UnmarshalJSON

func (f *Format) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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