More 'improvements' based on goreportcard.com

This commit is contained in:
Matej Kramny
2015-03-20 20:52:57 +01:00
parent 3d0b0c88e1
commit cdf51d89f6
5 changed files with 16 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ import (
"time"
)
// Cachet component model
// Component Cachet model
type Component struct {
ID int `json:"id"`
Name string `json:"name"`
@@ -12,7 +12,7 @@ type Component struct {
Status int `json:"status"`
Link *string `json:"link"`
Order *int `json:"order"`
GroupId *int `json:"group_id"`
GroupID *int `json:"group_id"`
CreatedAt *time.Time `json:"created_at"`
UpdatedAt *time.Time `json:"updated_at"`
DeletedAt *time.Time `json:"deleted_at"`