1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

View file

@ -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
}