全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: golang-github-qor-inflection  ]

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

golang-github-qor-inflection-dev 的相关链接

Screenshot

Debian 的资源:

下载源码包 golang-github-qor-inflection

维护小组:

外部的资源:

相似软件包:

Pluralizes and singularizes English nouns

Inflection is a Go package that pluralizes and singularizes English nouns.

  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"

Standard rules are from Rails's ActiveSupport.

This package contains the source.

下载 golang-github-qor-inflection-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 4.6 kB24.0 kB [文件列表]