From b48d679e4772d5961829b66f386afaa5435032b6 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Tue, 9 Jan 2024 08:55:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=20footprint=20=E7=BB=93?= =?UTF-8?q?=E5=B0=BE=E7=BC=BA=E5=A4=B1=E7=9A=84=E5=BC=95=E5=8F=B7.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- bom.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bom.go b/bom.go index e3296d3..ebfedc8 100644 --- a/bom.go +++ b/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