inflect

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(r message.Role, s string) error

Error returns a new error, inflecting words in s to match the message role r.

func Errorf

func Errorf(r message.Role, f string, v ...any) error

Errorf returns a new error, inflecting words in f to match the message role r.

func Sprint

func Sprint(r message.Role, s string) string

Sprint formats a string, inflecting words in s match the message role r.

func Sprintf

func Sprintf(r message.Role, f string, v ...any) string

Sprintf formats a string, inflecting words in f match the message role r.

Types

This section is empty.

Jump to

Keyboard shortcuts

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