go-ini/ini

SaveTo without Indentation

jingc1413 opened this issue · 0 comments

Version

1.6.7

Describe the bug

It should be possible to write the values without Indentation in SaveTo. Perhaps with an optional parameter.
[section]
key = value
keylong = value

instead of

[section]
key ________ = value
keylong ____ = value

_ stands for spaces

by this tip https://github.com/go-ini/ini#save-your-configuration
i can't find any help?

To reproduce

11

Expected behavior

11

Additional context

11

Code of Conduct

  • I agree to follow this project's Code of Conduct