[go-nuts] Re: Issue with go-git API

2022-10-10 Thread Brian Candler
Basically, every program now needs a "go.mod" file. Even a "hello world" program should be made like this: mkdir hello cd hello go mod init example.com/hello# this creates "go.mod" vi hello.go # create your program here go run . Whilst it still does work to say "go run hello.go" for a sim

[go-nuts] Re: Issue with go-git API

2022-10-10 Thread peterGo
Follow the instructions in the error messages: see `go help modules`. On Monday, October 10, 2022 at 1:35:38 AM UTC-4 princ...@gmail.com wrote: > I am trying to use this git api(*https://github.com/go-git/go-git > *), but before that I tried to run the > provid