pass golint

This commit is contained in:
Wenkai Yin 2016-07-04 17:33:17 +08:00
parent ceece3a56d
commit 0a5d5d602f

View File

@ -226,7 +226,7 @@ func (c *Checker) projectExist() (exist, canWrite bool, err error) {
}
if resp.StatusCode == http.StatusOK {
projects := make([]models.Project, 0)
var projects []models.Project
if err = json.Unmarshal(data, &projects); err != nil {
return
}