mirror of
https://github.com/netbirdio/easyjson.git
synced 2026-05-22 18:44:42 -07:00
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:
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user