优化GetData

1. 去掉重复的ToLower
2. getData内部统一ToLower
3.调整getData中对空字符串判断位置
====
4. 待确定：在getData中是否有必要进行lock操作
gofmt

Signed-off-by: devYu <devysq@gmail.com>
Update file.go

New pull request for "Panic sometimes occurs at time 00h00 on windows, then the app crashes."
Print error if occurred in WriteMsg
Allow mail with self-signed certificates

For more information, refer to https://groups.google.com/forum/#!topic/golang-nuts/c9zEiH6ixyw
Merge pull request #780 from francoishill/patch-18

Allow mail with self-signed certificates
Merge pull request #779 from francoishill/patch-17

Print error if occurred in WriteMsg
Merge pull request #778 from francoishill/patch-15

Update file.go
Merge pull request #776 from devYu/master

udpate ini.go
fix the import
Update smtp.go
Type in the printout of each level's prefix
Merge pull request #783 from francoishill/patch-20

Typo in the printout of some level's prefixes
Merge pull request #782 from francoishill/patch-19

Extra field if username is empty
fix the less `
aws api auth plugins