arrayconv

package
v0.0.0-...-f9840df Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyArray

type MyArray [32]int

type MyInt

type MyInt int

type MySlice

type MySlice []int64

type X

type X struct {
	A         MyArray
	A2        MyArray
	RequiredA MyArray `gencodec:"required"`

	S         MySlice
	RequiredS MySlice `gencodec:"required"`
}

func (X) MarshalJSON

func (x X) MarshalJSON() ([]byte, error)

MarshalJSON marshals as JSON.

func (*X) UnmarshalJSON

func (x *X) UnmarshalJSON(input []byte) error

UnmarshalJSON unmarshals from JSON.

type Xo

type Xo struct {
	A         []int
	RequiredA []int
	A2        []MyInt
	S         [16]int64
	RequiredS [16]int64
}

Jump to

Keyboard shortcuts

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