spiegel_podman/test/tools/vendor/github.com/go-openapi/inflect
Paul Holzinger abd25c09e0
test/tools: update swagger to v0.33.2
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-10 12:48:12 +02:00
..
.cliff.toml test/tools: update swagger to v0.33.2 2026-04-10 12:48:12 +02:00
.editorconfig test/tools: update swagger to v0.33.2 2026-04-10 12:48:12 +02:00
.gitignore Update module github.com/go-swagger/go-swagger to v0.32.3 2025-06-09 11:31:23 +00:00
.golangci.yml test/tools: update swagger to v0.33.2 2026-04-10 12:48:12 +02:00
CODE_OF_CONDUCT.md test/tools: update swagger to v0.33.2 2026-04-10 12:48:12 +02:00
CONTRIBUTORS.md test/tools: update swagger to v0.33.2 2026-04-10 12:48:12 +02:00
inflect.go test/tools: update swagger to v0.33.2 2026-04-10 12:48:12 +02:00
LICENSE test/tools: update swagger to v0.33.2 2026-04-10 12:48:12 +02:00
NOTICE test/tools: update swagger to v0.33.2 2026-04-10 12:48:12 +02:00
README.md test/tools: update swagger to v0.33.2 2026-04-10 12:48:12 +02:00
SECURITY.md test/tools: update swagger to v0.33.2 2026-04-10 12:48:12 +02:00

inflect

Tests Coverage CI vuln scan CodeQL

Release Go Report Card CodeFactor Grade License

GoDoc Slack Channelslack-badge go version Top language Commits since latest release


A package to pluralize words.

Originally forked from https://bitbucket.org/pkg/inflect under a MIT License.

Status

API is stable.

This library is not used at all by other go-openapi packages and is somewhat redundant with go-openapi/swag/mangling (for camelcase etc).

Currently we have one single dependency in one place in a go-swagger template (used as a funcmap).

Import this library in your project

go get github.com/go-openapi/inflect

Basic usage

A golang library applying grammar rules to English words.

This package provides a basic set of functions applying grammar rules to inflect English words, modify case style (Capitalize, camelCase, snake_case, etc.).

Acronyms are properly handled. A common use case is word pluralization.

Change log

See https://github.com/go-openapi/inflect/releases

Licensing

This library ships under the SPDX-License-Identifier: Apache-2.0.

See the license NOTICE, which recalls the licensing terms of all the pieces of software on top of which it has been built.

Other documentation

Cutting a new release

Maintainers can cut a new release by either:

  • running this workflow
  • or pushing a semver tag
    • signed tags are preferred
    • The tag message is prepended to release notes