Skip to content

Commit

Permalink
Update models/unit/unit.go
Browse files Browse the repository at this point in the history
Co-authored-by: delvh <dev.lh@web.de>
  • Loading branch information
wolfogre and delvh authored Apr 2, 2023
1 parent 2287504 commit 417a55e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/unit/unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ var (
}
)

// FindUnitTypes give the unit key names and return valid deduplicate units and invalid keys
// FindUnitTypes give the unit key names and return valid unique units and invalid keys
func FindUnitTypes(nameKeys ...string) (res []Type, invalidKeys []string) {
m := map[Type]struct{}{}
for _, key := range nameKeys {
Expand Down

0 comments on commit 417a55e

Please sign in to comment.