pelletier / go-toml

Go library for the TOML file format
https://github.com/pelletier/go-toml
Other
1.69k stars 206 forks source link

Exellent error messages! Thanks a lot! #800

Closed bep closed 2 years ago

bep commented 2 years ago

I have been using go-toml v2 to handle config for a new side project I'm playing with, and the quality of the errors you return are real time-saver and makes this library a pleasure to use. I especially like the StrictMissingError.

         9| [replacements]
          |  ~~~~~~~~ cannot store a table in a slice

And yes, you can close this issue. Have a great weekend!

pelletier commented 2 years ago

Thank you @bep! Means a lot. I always appreciate your patience and kind feedback.