MCPcopy
hub / github.com/autobrr/qui / TransformFunc

FuncType TransformFunc

pkg/stringutils/normalize.go:16–16  ·  view source on GitHub ↗

TransformFunc is a function that transforms K to V.

func(K) V

Source from the content-addressed store, hash-verified

14
15// TransformFunc is a function that transforms K to V.
16type TransformFunc[K, V any] func(K) V
17
18// Normalizer caches transformed results so we do not repeatedly transform the same inputs.
19type Normalizer[K comparable, V any] struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected