File: control

package info (click to toggle)
golang-github-qor-inflection 0.0~git20151009.0.3272df6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 68 kB
  • sloc: makefile: 2
file content (42 lines) | stat: -rw-r--r-- 1,578 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Source: golang-github-qor-inflection
Section: devel
Priority: extra
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Tianon Gravi <tianon@debian.org>
Build-Depends: debhelper (>= 9),
               dh-golang,
               golang-go
Standards-Version: 3.9.6
Homepage: https://github.com/qor/inflection
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-qor-inflection
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-qor-inflection.git
XS-Go-Import-Path: github.com/qor/inflection
Testsuite: autopkgtest-pkg-go

Package: golang-github-qor-inflection-dev
Architecture: all
Depends: ${shlibs:Depends},
         ${misc:Depends}
Description: 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.