Reference the gen package from easyjson

The generated bootstrapping code requires gen; exposing this
otherwise-indirect dependency makes life easier for people wishing to
vendor easyjson so that they will pull in all the necessary
dependencies.
This commit is contained in:
Caleb Spare
2016-04-22 13:53:54 -07:00
parent 5cc92100d6
commit 2101ff2902
+4
View File
@@ -7,6 +7,10 @@ import (
"strings"
"github.com/mailru/easyjson/bootstrap"
// Reference the gen package to be friendly to vendoring tools,
// as it is an indirect dependency.
// (The temporary bootstrapping code uses it.)
_ "github.com/mailru/easyjson/gen"
"github.com/mailru/easyjson/parser"
)