1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

encoding.csv: re-encapsulate fields in Writer/Reader (fix #15558) (#15570)

This commit is contained in:
ChAoS_UnItY
2022-08-28 16:13:43 +08:00
committed by GitHub
parent 797bdd5e98
commit 258ff73efd
3 changed files with 26 additions and 10 deletions

View File

@@ -38,14 +38,14 @@ fn (err InvalidLineEndingError) msg() string {
return 'encoding.csv: could not find any valid line endings'
}
pub struct Reader {
struct Reader {
// not used yet
// has_header bool
// headings []string
data string
pub mut:
delimiter u8
comment u8
data string
delimiter u8
comment u8
mut:
is_mac_pre_osx_le bool
row_pos int
}