sanathkr / go-npm

Distribute and install Go binaries via NPM
Apache License 2.0
171 stars 56 forks source link

Is it possible to add a token to the request for download private repository files? #18

Open leiyi-weee opened 1 year ago

leiyi-weee commented 1 year ago

For example, put in goBinary configuration

{ ... "goBinary": { "githubToken": "xxx" } ... }

And then, you can use this token when requst the binary file.

dkhrunov commented 11 months ago

same issue

dkhrunov commented 11 months ago

For example, put in goBinary configuration

{ ... "goBinary": { "githubToken": "xxx" } ... }

And then, you can use this token when requst the binary file.

Hello, you found solution?