all options
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ Source: golang-github-qor-inflection  ]

Package: golang-github-qor-inflection-dev (0.0~git20151009.0.3272df6-2)

Links for golang-github-qor-inflection-dev

Screenshot

Debian Resources:

Download Source Package golang-github-qor-inflection:

Maintainers:

External Resources:

Similar packages:

trasforma sostantivi inglesi al plurale e al singolare

Inflection รจ un pacchetto Go che trasforma sostantivi inglesi al plurale e al singolare.

  inflection.Plural("person") => "people"
  inflection.Plural("Person") => "People"
  inflection.Plural("PERSON") => "PEOPLE"
  inflection.Plural("bus")    => "buses"
  inflection.Plural("BUS")    => "BUSES"
  inflection.Plural("Bus")    => "Buses"

  inflection.Singularize("people") => "person"
  inflection.Singularize("People") => "Person"
  inflection.Singularize("PEOPLE") => "PERSON"
  inflection.Singularize("buses")  => "bus"
  inflection.Singularize("BUSES")  => "BUS"
  inflection.Singularize("Buses")  => "Bus"

  inflection.Plural("FancyPerson") => "FancyPeople"
  inflection.Singularize("FancyPeople") => "FancyPerson"

Le regole standard sono quelle di ActiveSupport di Rails.

Questo pacchetto contiene i sorgenti.

Download golang-github-qor-inflection-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 4.6 kB24.0 kB [list of files]