tiny-lib / go-version

A package helps to get golang latest and all version go's download url\file size\checksum\os\arch etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-version

codecov A package helps to get golang latest and all version go's download url\file size\checksum\os\arch etc. a little example

package main

import (
	"fmt"
	"log"

	goversion "github.com/czyt/go-version"
)

func main() {
	downLoader := goversion.NewDownLoader("https://golang.google.cn")
	versions, err := downLoader.GetFeaturedDownload()
	if err != nil {
		log.Fatal(err)
	}
	for _, v := range versions {
		fmt.Println(v.DownloadUrl)
	}
}

中文

About

A package helps to get golang latest and all version go's download url\file size\checksum\os\arch etc.

License:MIT License


Languages

Language:Go 100.0%