easy wrapper for "github.com/rhysd/go-github-selfupdate"
import (
"log"
"github.com/Songmu/ghselfupdate"
)
err := ghselfupdate.Do(vesion)
if err != nil {
log.Println("binary update failed:", err)
}easy wrapper for "github.com/rhysd/go-github-selfupdate"
import (
"log"
"github.com/Songmu/ghselfupdate"
)
err := ghselfupdate.Do(vesion)
if err != nil {
log.Println("binary update failed:", err)
}