On Tue, Sep 27, 2022 at 09:46:04PM -0700, PK wrote:
> I want to write an go script, to upload a folder in the github. Can anyone
> please let How I can do this.
Depending on what you mean by "upload folder" you can either use git,
assuming you meant source code / version tracked stuff or you can
interact with the GH API either via rest or grahpql.
There's a bunch of info available, say
*
https://docs.github.com/en/developers/overview/about-githubs-apis
*
https://github.com/shurcooL/githubv4
Go from there.
Cheers,
Reto