Skip to content

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

License

Notifications You must be signed in to change notification settings

tiny-lib/go-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages