ytapi icon indicating copy to clipboard operation
ytapi copied to clipboard

use of internal package google.golang.org/api/internal/gensupport not allowed

Open xaionaro opened this issue 2 years ago • 0 comments

Hello.

The suggested instruction does not build the project:

smartoffice@alien:~/go/src/github.com/djthorpe/ytapi$ build/build.sh -c ~/.youtube-oauth.json -s ~/.youtube-service.json
TMPDIR is unset or set to the empty string.
Now set to: /tmp
go: no package to get in current directory
package github.com/djthorpe/ytapi/cmd/ytapi
	imports github.com/djthorpe/ytapi/cidcommands
	imports github.com/djthorpe/ytapi/youtubepartner/v1
	youtubepartner/v1/youtubepartner-gen.go:71:2: use of internal package google.golang.org/api/internal not allowed
package github.com/djthorpe/ytapi/cmd/ytapi
	imports github.com/djthorpe/ytapi/cidcommands
	imports github.com/djthorpe/ytapi/youtubepartner/v1
	youtubepartner/v1/youtubepartner-gen.go:72:2: use of internal package google.golang.org/api/internal/gensupport not allowed

I also tried these Go versions:

   go1.13.15
   go1.14.15
=> go1.19.13
   go1.6.4
   go1.7.6
   go1.9.7

It does not build with any of these version.

xaionaro avatar Dec 29 '23 18:12 xaionaro