unknwon / goconfig

Package goconfig is a fully functional and comments-support configuration file (.ini) parser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add a switch to set PrettyFormat with function SaveConfigData and SaveConfigFile

kqzh opened this issue · comments

sometimes force change '=' to ' = ' will make the program‘s config don't work, such as the database Nebula Graph. So we need add a parameter to decide whether we use PrettyFormat.