- ComposeSkuName.

This commit is contained in:
gazebo
2018-09-14 15:21:49 +08:00
parent 52041a142e
commit 9c2c8e4b8e

View File

@@ -222,6 +222,9 @@ func ComposeSkuName(prefix, name, comment, unit string, spec_quality float32, sp
} }
skuName += spec_unit skuName += spec_unit
skuName += "/" + unit skuName += "/" + unit
if comment != "" {
skuName += "(" + comment + ")"
}
if maxLen > 0 { if maxLen > 0 {
skuName = skuName[:maxLen] skuName = skuName[:maxLen]
} }