helper

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProjectName

func GetProjectName(dir string) string

GetProjectName reads go.mod and extracts the module name.

func ToCamelCase

func ToCamelCase(s string) string

ToCamelCase converts a string to CamelCase (e.g., "user_profile" -> "UserProfile").

func ToLowerFirst

func ToLowerFirst(s string) string

ToLowerFirst converts the first character to lowercase.

func ToSnakeCase

func ToSnakeCase(s string) string

ToSnakeCase converts a string to snake_case (e.g., "UserProfile" -> "user_profile").

Types

This section is empty.

Jump to

Keyboard shortcuts

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