How to use binary-only package with "go get"

1k Views Asked by At

My binary package have some dependencies installed from go get command. After building and create sourcode with //go:binary-only-package

There are some errors like:

cannot find package github.com/robfig/cron (using -importcfg)
cannot find package github.com/go-chi/chi/middleware (using -importcfg)

How do i import binary-only package?

0

There are 0 best solutions below