Fixed angularjs variable names

This commit is contained in:
utkarshcmu
2016-01-19 23:23:44 -08:00
parent 281ec60085
commit aa1d28835d
4 changed files with 41 additions and 7 deletions
+16
View File
@@ -20,6 +20,22 @@ type DashboardSnapshot struct {
Dashboard map[string]interface{}
}
// DashboardSnapshotDTO without dashboard map
type DashboardSnapshotDTO struct {
Id int64 `json:"id"`
Name string `json:"name"`
Key string `json:"key"`
DeleteKey string `json:"deleteKey"`
OrgId int64 `json:"orgId"`
UserId int64 `json:"userId"`
External bool `json:"external"`
ExternalUrl string `json:"externalUrl"`
Expires time.Time `json:"expires"`
Created time.Time `json:"created"`
Updated time.Time `json:"updated"`
}
// -----------------
// COMMANDS