load

package
v0.0.0-...-23d038b Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName = "easy-fz-chromeos"
)

Variables

This section is empty.

Functions

func Download

func Download(url string)

func Finder

func Finder(chromeosList []ChromeOS) (int, error)

Types

type ChromeOS

type ChromeOS struct {
	Channel       string `json:"channel"`
	File          string `json:"file"`
	Filesize      int    `json:"filesize"`
	Hwidmatch     string `json:"hwidmatch"`
	Manufacturer  string `json:"manufacturer"`
	Md5           string `json:"md5"`
	Model         string `json:"model"`
	Name          string `json:"name"`
	Sha1          string `json:"sha1"`
	Url           string `json:"url"`
	Version       string `json:"version"`
	Zipfilesize   int    `json:"zipfilesize"`
	ChromeVersion string `json:"chrome_version"`
}

func LoadJson

func LoadJson() []ChromeOS

type Options

type Options struct {
	Download bool `short:"d" long:"download" description:"Open a browser and download the file"`
}

func FlagParse

func FlagParse() Options

Jump to

Keyboard shortcuts

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