test

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Updater

type Updater[T any] struct {
	// contains filtered or unexported fields
}

func NewUpdater

func NewUpdater[T any](src T) *Updater[T]

func (*Updater[T]) Get

func (m *Updater[T]) Get() T

func (*Updater[T]) GetPtr

func (m *Updater[T]) GetPtr() *T

func (*Updater[T]) Update

func (m *Updater[T]) Update(transformer func(src *T)) *Updater[T]

Jump to

Keyboard shortcuts

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