When fetching ejson via go get github.com/Shopify/ejson/cmd/ejson we received the following error:
[2019-05-28T18:52:07Z] # github.com/Shopify/ejson/cmd/ejson
[2019-05-28T18:52:07Z] src/github.com/Shopify/ejson/cmd/ejson/main.go:26:18: \
cannot use func literal (type func(string, interface {})) as type cli.helpPrinter in assignment
The Solution
Bump the version of cli to the latest tag
Fix up the custom help command to match the func type
Update references for codegangsta/cli to urfave/cli since this is where the lib lives now.
The Problem
When fetching ejson via
go get github.com/Shopify/ejson/cmd/ejson
we received the following error:The Solution
cli
to the latest tagcodegangsta/cli
tourfave/cli
since this is where the lib lives now.