1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-11 15:00:40 +00:00

Merge branch 'astaxie/develop' into environmentVar

This commit is contained in:
ysqi
2016-03-29 20:55:29 +08:00
54 changed files with 1132 additions and 467 deletions

View File

@ -82,6 +82,10 @@ func (ini *IniConfig) parseFile(name string) (*IniConfigContainer, error) {
if err == io.EOF {
break
}
//It might be a good idea to throw a error on all unknonw errors?
if _, ok := err.(*os.PathError); ok {
return nil, err
}
if bytes.Equal(line, bEmpty) {
continue
}