Add a doc.go file so the compose/schema/data directory can be vendored in another project, without being pruned.

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
Silvin Lubecki 2018-06-29 17:09:50 +02:00
parent 9faf728089
commit 3a8ef767f8
3 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
// Code generated by "esc -o bindata.go -pkg schema -private -modtime=1518458244 data"; DO NOT EDIT. // Code generated by "esc -o bindata.go -pkg schema -ignore .*\.go -private -modtime=1518458244 data"; DO NOT EDIT.
package schema package schema

View File

@ -0,0 +1,8 @@
/*
Package data contains all the Compose file JSON schemas, starting from v3.0.
*/
//
// +domain=docker.com
package data

View File

@ -1,6 +1,6 @@
package schema package schema
//go:generate esc -o bindata.go -pkg schema -private -modtime=1518458244 data //go:generate esc -o bindata.go -pkg schema -ignore .*\.go -private -modtime=1518458244 data
import ( import (
"fmt" "fmt"