I have currently written a code in golang to download git repository using go-getter but not sure why it's not working. Can someone please help me out?
package main
import (
"github.com/hashicorp/go-getter"
)
func main() {
client := &getter.Client{
Src: "git::https://github.com/kcl-lang/flask-demo-kcl-manifests?refs=ade147b",
Dst: "/tmp",
Pwd: "/tmp",
}
if err := client.Get(); err != nil {
panic(err)
}
}