implements Stringer for store and remotes

This commit is contained in:
Brad Rydzewski
2015-10-27 16:48:05 -07:00
parent fc02d38b4a
commit 4a0deff5a5
7 changed files with 35 additions and 15 deletions

View File

@@ -470,6 +470,10 @@ func (g *Github) deployment(r *http.Request) (*model.Repo, *model.Build, error)
return repo, build, nil
}
func (g *Github) String() string {
return "github"
}
const (
StatusPending = "pending"
StatusSuccess = "success"