mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
修复读表引号问题
This commit is contained in:
@@ -243,6 +243,7 @@ func readTable[T any](tablePath string, table *[]*T) {
|
||||
}
|
||||
reader := csv.NewReader(bytes.NewBuffer(fileData))
|
||||
reader.Comma = '\t'
|
||||
reader.LazyQuotes = true
|
||||
dec, err := csvutil.NewDecoder(reader)
|
||||
if err != nil {
|
||||
info := fmt.Sprintf("create decoder error: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user