1
git2goを使用してGITリポジトリをプルするための基本的なGOアプリケーションを作成しようとしていますが、サポートされていないURLプロトコルのエラーが表示されています。なぜ誰が知っていますか?サポートされていないURLのprotcolにGO
package main
import (
git "github.com/libgit2/git2go"
"log"
)
func main() {
cloneOptions := &git.CloneOptions{}
repo, err := git.Clone("https://github.com/nova-framework/framework.git", "gittest", cloneOptions)
if err != nil {
log.Panic(err)
}
log.Print(repo)
}