normalizer

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultNormalizator

type DefaultNormalizator struct{}

DefaultNormalizator missing godoc

func (*DefaultNormalizator) Normalize

func (dn *DefaultNormalizator) Normalize(name string) string

Normalize is the default normalization function used as normalization function; It attempts to validate if the input is already normalized so it doesn't apply normalization again.

type Normalizator

type Normalizator interface {
	Normalize(name string) string
}

Normalizator represents the interface of a normalization function used to sanitize a given name string

Jump to

Keyboard shortcuts

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