stropt

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package stropt provides string case and pluralization helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Camel

func Camel(s string) string

Camel converts s to CamelCase.

func LowerCamel

func LowerCamel(s string) string

LowerCamel converts s to lowerCamelCase.

func Plural

func Plural(word string) string

Plural returns the English plural form of word.

func Singular

func Singular(word string) string

Singular returns the English singular form of word.

func Snake

func Snake(s string) string

Snake converts s to snake_case.

Types

This section is empty.

Jump to

Keyboard shortcuts

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