inflect

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(k message.Kind, s string) error

Error returns a new error, inflecting words in s to match the message kind k.

func Errorf

func Errorf(k message.Kind, f string, v ...any) error

Errorf returns a new error, inflecting words in f to match the message kind k.

func Sprint

func Sprint(k message.Kind, s string) string

Sprint formats a string, inflecting words in s match the message kind k.

func Sprintf

func Sprintf(k message.Kind, f string, v ...any) string

Sprintf formats a string, inflecting words in f match the message kind k.

Types

This section is empty.

Jump to

Keyboard shortcuts

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