全部搜尋項
stretch  ] [  buster  ] [  bullseye  ] [  bookworm  ] [  sid  ]
[ 原始碼: golang-github-qor-inflection  ]

套件:golang-github-qor-inflection-dev(0.0~git20151009.0.3272df6-1)

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。3 kB24。0 kB [檔案列表]