MCPcopy
hub / github.com/eth0izzle/shhgit / Pluralize

Function Pluralize

core/util.go:50–56  ·  view source on GitHub ↗
(count int, singular string, plural string)

Source from the content-addressed store, hash-verified

48}
49
50func Pluralize(count int, singular string, plural string) string {
51 if count == 1 {
52 return singular
53 }
54
55 return plural
56}
57
58func GetEntropy(data string) (entropy float64) {
59 if data == "" {

Callers 1

processRepositoryOrGistFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected