utils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultIfEmpty

func DefaultIfEmpty(value string, def string) string

func DefaultServerName

func DefaultServerName(name string) string

func GoFileName

func GoFileName(input string) string

GoFileName converts a string to a snake_case filename

func GoIdent

func GoIdent(input string) string

GoIdent converts a string to an exported PascalCase identifier "foo-server" to "FooServer"

func SplitIdentifier

func SplitIdentifier(input string) []string

func TitleCaseID

func TitleCaseID(id 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