get-latest

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

README

get-latest

Get the latest repository version

Usage

routes
  1. for public repos -> /:user/:repo
  2. for private repos -> /:user/:repo/:token
from website

visit get-latest website and enter your repository name.

use api
package main

import (
	"github.com/scmn-dev/get-latest/api"
)

func main() {
	latest := api.LatestWithArgs("railwayapp/cli", "GITHUB_TOKEN", false)
	//                           ☝ repo name      ☝ github token  ☝ remove 'v' character from tag
	println(latest)
}

License

Apache-2.0 License - License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL