BurntSushi / toml

TOML parser for Golang with reflection.
MIT License
4.59k stars 529 forks source link

Add Position.Col #410

Closed arp242 closed 5 months ago

arp242 commented 5 months ago

Previously it wasn't easy for users to get the Column information; this can be calculated from the Start field, but this isn't convenient.

Also the start column in "column x-y" was off by one, so fix that too as a bonus.