We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2287504 commit 417a55eCopy full SHA for 417a55e
models/unit/unit.go
@@ -344,7 +344,7 @@ var (
344
}
345
)
346
347
-// 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
348
func FindUnitTypes(nameKeys ...string) (res []Type, invalidKeys []string) {
349
m := map[Type]struct{}{}
350
for _, key := range nameKeys {
0 commit comments