Enforce model for the json image format

This commit is contained in:
creack 2013-03-21 03:52:58 -07:00
parent 680f40c37e
commit 3e8d1dfb69
1 changed files with 4 additions and 4 deletions

View File

@ -15,10 +15,10 @@ import (
) )
type Image struct { type Image struct {
Id string Id string `json:"id"`
Parent string Parent string `json:"parent,omitempty"`
Comment string Comment string `json:"comment,omitempty"`
Created time.Time Created time.Time `json:"created"`
graph *Graph graph *Graph
} }