Add note about irregular nouns not being implemented

This commit is contained in:
Zorchenhimer 2021-02-20 21:17:12 -05:00
parent 94a46a7072
commit 59343064c6
Signed by: Zorchenhimer
GPG Key ID: 70A1AB767AAB9C20
1 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,7 @@
package models
import (
"fmt"
"strings"
)
@ -19,6 +20,11 @@ type Noun struct {
}
func (n Noun) Plural() string {
if !n.Regular {
fmt.Println("[noun] Irregular nouns not implemented")
return n.Word
}
suffixes := []string{
"s",
"x",