utils

package
v0.0.0-...-2887456 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeName

func NormalizeName(value string) string

func NormalizeType

func NormalizeType(value string) string

func ToSnakeCase

func ToSnakeCase(str string) string

Types

type NameNormalizer

type NameNormalizer struct {
	Value string
}

func (*NameNormalizer) Normalize

func (normalizer *NameNormalizer) Normalize() string

Normalize TODO: implement a more generic normalizer to be able to cover ALL cases. TODO: implement shorter naming for long variable names.

type TypeNormalizer

type TypeNormalizer struct {
	Value string
}

func (*TypeNormalizer) Normalize

func (normalizer *TypeNormalizer) Normalize() string

Jump to

Keyboard shortcuts

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