Help us shape the future of Go! Take the 2026 Go Developer Survey

inflect

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 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