Help us shape the future of Go! Take the 2026 Go Developer Survey

reset

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeResetter

func MakeResetter[ELEMENT any](
	funcReset FuncReset[ELEMENT],
	funcResetWith FuncResetWith[ELEMENT],
) resetter[ELEMENT]

func Map

func Map[KEY constraints.Ordered, VALUE any](mapp map[KEY]VALUE) (out map[KEY]VALUE)

func Slice

func Slice[ELEMENT any](in []ELEMENT) (out []ELEMENT)

Types

type FuncReset

type FuncReset[ELEMENT any] func(ELEMENT)

type FuncResetWith

type FuncResetWith[ELEMENT any] func(dst ELEMENT, src ELEMENT)

Source Files

  • main.go

Jump to

Keyboard shortcuts

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