diff --git a/graph/image.go b/graph/image.go index 210ba7cedb..af6cbd0190 100644 --- a/graph/image.go +++ b/graph/image.go @@ -15,10 +15,10 @@ import ( ) type Image struct { - Id string - Parent string - Comment string - Created time.Time + Id string `json:"id"` + Parent string `json:"parent,omitempty"` + Comment string `json:"comment,omitempty"` + Created time.Time `json:"created"` graph *Graph }