pelletier / go-toml

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

Add errorcontext to unmarshalString() #856

Closed Krishks369 closed 10 months ago

Krishks369 commented 1 year ago

This PR tries to solve the issue here

@pellitier I have added the error context to the function according to my knowledge and please do check if its correct. Also can you provide a way to test it if its correct. Thanks for the reply

pelletier commented 10 months ago

@Krishks369 @arkn98 This should now be fixed by https://github.com/pelletier/go-toml/pull/891. Feel free to reopen this PR or create an issue if not!