cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GithubRepository = "ephemeralfiles/eph"
	DefaultEndpoint  = "https://api.ephemeralfiles.com"
)
View Source
const (
	WritablePermission = 0666
)

Variables

This section is empty.

Functions

func DoUpdate

func DoUpdate(url string) error

DoUpdate updates the binary from the url

func Execute

func Execute()

func GenerateBinaryURL

func GenerateBinaryURL(repository string, version string, os string, arch string) string

func IsLastVersion

func IsLastVersion(lastVersionFromGithub string) bool

IsLastVersion checks if the actual version is the last version from github

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳