🎨 优化代码结构

This commit is contained in:
源文雨
2022-03-29 16:29:29 +08:00
parent aae2bd4884
commit bcad2c4998
3 changed files with 7 additions and 6 deletions

View File

@@ -75,6 +75,7 @@ func init() {
if err != nil {
panic(err)
}
_ = f.Close()
records = records[1:] // skip title
if len(records) != 100 {
panic("invalid csvfile")