command
module
Version:
v0.1.3
Opens a new window with list of versions in this module.
Published: May 5, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
get-latest
Get the latest repository version
Usage
routes
- for public repos ->
/:user/:repo
- 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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.