mirror of https://github.com/docker/docs.git
Enforce model for the json image format
This commit is contained in:
parent
680f40c37e
commit
3e8d1dfb69
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue