textutil

package
v4.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package textutil provides small, generic (non-domain) string helpers that apps otherwise reinvent (U7).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Humanize

func Humanize(parseValue string) string

Humanize turns an enum/identifier like "credit_card", "creditCard", or "credit-card" into a human Title-case-first phrase: "Credit card".

func TitleCase

func TitleCase(parseValue string) string

TitleCase capitalizes the first letter of every word in an identifier: "credit_card" -> "Credit Card".

Types

This section is empty.

Jump to

Keyboard shortcuts

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