frontendtesting

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NestedKey

func NestedKey(key string, prefix string) string

func RandomBytes

func RandomBytes(n int) []byte

func SliceEqual

func SliceEqual[T comparable](a, b []T) bool

Types

type AllTypes

type AllTypes struct {
	IB    bool
	B     bool
	S     string
	I     int
	I8    int8
	I16   int16
	I32   int32
	I64   int64
	U     uint
	U8    uint8
	U16   uint16
	U32   uint32
	U64   uint64
	F32   float32
	F64   float64
	D     time.Duration
	IP    net.IP
	Bytes []byte
	SS    []string
}

func RandomConfig

func RandomConfig() (*puzzle.Config, *AllTypes)

func RandomConfigWithShort

func RandomConfigWithShort() (*puzzle.Config, *AllTypes)

func RandomNestedConfig

func RandomNestedConfig() (*puzzle.Config, *AllTypes)

func RandomValues

func RandomValues() *AllTypes

func (*AllTypes) Compare

func (initial *AllTypes) Compare(other *AllTypes) error

Jump to

Keyboard shortcuts

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