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
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();
message2019/10/15 15:37:09 malformed expression