Refactor based on goreportcard.com
This commit is contained in:
@@ -4,15 +4,16 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// Cachet component model
|
||||
type Component struct {
|
||||
Id int `json:"id"`
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
Status int `json:"status"`
|
||||
Link *string `json:"link"`
|
||||
Order *int `json:"order"`
|
||||
Group_id *int `json:"group_id"`
|
||||
Created_at *time.Time `json:"created_at"`
|
||||
Updated_at *time.Time `json:"updated_at"`
|
||||
Deleted_at *time.Time `json:"deleted_at"`
|
||||
GroupId *int `json:"group_id"`
|
||||
CreatedAt *time.Time `json:"created_at"`
|
||||
UpdatedAt *time.Time `json:"updated_at"`
|
||||
DeletedAt *time.Time `json:"deleted_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user