magiconair / properties

Java properties scanner for Go
BSD 2-Clause "Simplified" License
323 stars 77 forks source link

Resolve the properties and exit the programme #39

Open standup-jb opened 4 years ago

standup-jb commented 4 years ago

I use the code like below , when the programe resolve the properties file , printf the message and exit . I don't want to the program exit , just throw a error to me , I can catch is err and continue reslove the other file . use code file_content:=properties.MustLoadFile(path+"/"+name,properties.UTF8) keys := file_content.Keys(); message 2019/10/15 15:37:09 malformed expression