Re: [go-nuts] GO API to upload a directory in the github

2022-10-04 Thread Brian Candler
> undefined: io.Discard What version of Go are you running on your system? io.Discard was introduced in go 1.16 . unsafe.Slice was added in go 1.17 . The most recent version is 1.19, and I'd recommend you use that. On Tuesday

Re: [go-nuts] GO API to upload a directory in the github

2022-10-03 Thread PK
yes, I tried with the help of https://github.com/go-git/go-git and there is a basics example (git clone) is given, but when I compile that, it shows the following compilation errors: # github.com/kevinburke/ssh_config /root/go/src/github.com/kevinburke/ssh_config/config.go:318:12: undefined: os

Re: [go-nuts] GO API to upload a directory in the github

2022-09-28 Thread Reto
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