[go-nuts] Re: Having trouble in running a go-git api example

2022-10-17 Thread Gergely Brautigam
Hello. Did you set up any remotes for the folder that you are trying to push? On Monday, 17 October 2022 at 13:16:12 UTC+2 princ...@gmail.com wrote: > Hi, > I am trying to run example provided here( > https://github.com/go-git/go-git/tree/master/_examples) > > 1) firstly I run the clone example

[go-nuts] Re: mockgen tool not calling mocked function

2022-10-17 Thread Ron Khera
I had to restructure my code to pass a valiadtor to the function under test. That fixed the issue. On Friday, October 14, 2022 at 12:47:39 PM UTC-4 Ron Khera wrote: > I am using Go 1.19 on a windows machine with 8 cores, operating system is > Windows 10 Pro. I used the mockgen tool to generate

[go-nuts] Having trouble in running a go-git api example

2022-10-17 Thread PK
Hi, I am trying to run example provided here( https://github.com/go-git/go-git/tree/master/_examples) 1) firstly I run the clone example by cloning a repo( https://github.com/go-git/go-git/blob/master/_examples/clone/auth/basic/access_token/main.go). (it was successful) 2) Then I run the commit