complex

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Property

func Property[T interface{ Checksum() uint32 }](
	value *T,
	checksum uint32,
	constraint data.Constraint[T],
	source Source[T],
) data.Property[T]

Types

type Bytes

type Bytes []byte

func (Bytes) Checksum

func (b Bytes) Checksum() uint32

type Source

type Source[T any] interface {
	Change(value T, checksum uint32) error
	Value() (T, error)
}

type String

type String string

func (String) Checksum

func (s String) Checksum() uint32

type Strings

type Strings []string

func (Strings) Checksum

func (s Strings) Checksum() uint32

Jump to

Keyboard shortcuts

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