conv

package
v0.0.0-...-21fe71f Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsVowel

func IsVowel(r rune) bool

IsVowel returns whether the r is vowel letter.

func NormalizeComment

func NormalizeComment(title, description string) string

NormalizeComment normalizes the title and description to Go style comment.

This function returns the string that assumes inserting after the `//` token.

func NormalizeFieldName

func NormalizeFieldName(s string) string

NormalizeFieldName normalizes s to the proto field name.

func NormalizeMessageName

func NormalizeMessageName(s string) string

NormalizeMessageName normalizes s to the proto message name.

func RegisterAcronyms

func RegisterAcronyms(ss []string)

RegisterAcronyms registers acronym list to flect package.

func ToSingularize

func ToSingularize(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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