Results 185 comments of Mike Farah

4.33.1 has support for reading TOML!

Sounds like a plan! ________________________________ From: Thomas Pelletier ***@***.***> Sent: Friday, October 7, 2022 11:20:54 PM To: pelletier/go-toml ***@***.***> Cc: Mike Farah ***@***.***>; Author ***@***.***> Subject: Re: [pelletier/go-toml] Make AST...

Diving deeper into this - my code is becoming a little unwieldy - it would help if there was a `peek` function that lets me see what the next expression...

Also - can you make the comments available on your Node struct?

Final question (sorry) - how do I write back out as a toml file using this lib?

Ideally it'd be something like parser.Peek() and it would return a `*Node` just like the Expression() function. Not a big deal - I've kinda of worked around the issue -...

Thinking about being able to roundtrip a file with comments - I'd need some sort of way of re-encoding them 🤔 Would it be possible to expose an interface that...

Sweet! Whitespace would be awesome. Not sure how it could be stored - perhaps similarly to HeadComment/FootComment, you could potentially have a Leading/Trailing whitespace string. In terms of writing back...

Weird - `yq` does create a temporary file when processing front-matter; seems like the OS doesn't let it clean up after. Not sure why that would be the case. That...

Sure, so the reason is seems iffy is because in my mind we're using webhooks as a method of getting the result of the original request. That is, if you...