You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because zap can be imported both as go.uber.org/zap and github.com/uber-go/zap, the users of the latter can not build due to some places where /internal is used:
jacobg-C02RC3QCG8WM:onix jacobgreenleaf$ make
GO BUILD (1.9.2 darwin/amd64) onix
.../vendor/github.com/uber-go/zap/stacktrace.go:28:2: use of internal package not allowed
make: *** [onix] Error 1
I'm not sure if the right solution is to avoid using internal/ or just punt the issue to clients, however I am opening this ticket so that others know to use go.uber.org/zap import form only.
The text was updated successfully, but these errors were encountered:
jacobgreenleaf
changed the title
Use of internal/ conflicts with multiple repository names
Build fails with use of internal package not allowed - conflicts with multiple repository names
Dec 5, 2017
Because zap can be imported both as
go.uber.org/zap
andgithub.com/uber-go/zap
, the users of the latter can not build due to some places where/internal
is used:I'm not sure if the right solution is to avoid using
internal/
or just punt the issue to clients, however I am opening this ticket so that others know to usego.uber.org/zap
import form only.The text was updated successfully, but these errors were encountered: