Skip to content

Commit

Permalink
* petname.go:
Browse files Browse the repository at this point in the history
  - fix typo
  • Loading branch information
dustinkirkland committed Jun 26, 2023
1 parent 9b0a283 commit e794b93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ golang-petname (2.11) unreleased; urgency=medium
* debian/control, debian/copyright:
- updated to relocate source from Launchpad to github

-- Dustin Kirkland <[email protected]> Mon, 26 Jun 2023 17:04:15 -0500
[ Edward Betts ]
* petname.go:
- fix typo

-- Dustin Kirkland <[email protected]> Mon, 26 Jun 2023 17:47:24 -0500

golang-petname (2.10-0ubuntu1) eoan; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion petname.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func Name() string {
// If a single word is requested, simply a Name() is returned.
// If two words are requested, a Adjective() and a Name() are returned.
// If three or more words are requested, a variable number of Adverb() and a Adjective and a Name() is returned.
// The separator can be any charater, string, or the empty string.
// The separator can be any character, string, or the empty string.
func Generate(words int, separator string) string {
if words == 1 {
return Name()
Expand Down

0 comments on commit e794b93

Please sign in to comment.