Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
rick.chan | b48d679e47 |
2
bom.go
2
bom.go
|
@ -37,7 +37,7 @@ func transBomFormat(commentId, designatorId, footprintId int, contents []string)
|
|||
lines := strings.Split(line, "\",")
|
||||
if commentId < len(lines) && designatorId < len(lines) && footprintId < len(lines) {
|
||||
footprint := transBomFootprint(lines[footprintId])
|
||||
ostr += lines[commentId] + "\"," + lines[designatorId] + "\"," + footprint + "\n"
|
||||
ostr += lines[commentId] + "\"," + lines[designatorId] + "\"," + footprint + "\"\n"
|
||||
}
|
||||
}
|
||||
return ostr
|
||||
|
|
Loading…
Reference in New Issue