complete

package
v0.0.92 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Complete

func Complete[T Merger[T]](opts ...T) T

func First

func First[T comparable](o ...T) (result T)

func Last

func Last[T comparable](o ...T) (result T)

func Merge

func Merge[T Merger[T]](opts ...T) T

func MergeMap

func MergeMap[K comparable, V any](m ...map[K]V) (result map[K]V)

Types

type Completer

type Completer[T any] interface {
	Complete() T
}

type Merger

type Merger[T any] interface {
	Merge(T) T
}

Jump to

Keyboard shortcuts

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