helper

package
v0.0.0-...-c6b6372 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(url string, dest string, onProgress func(float32)) error

func ExecSync

func ExecSync(pwd string, command string, args ...string) ([]byte, []byte, error)

func Extract7z

func Extract7z(file string, dist string) (files []string, err error)

func InvalidPath

func InvalidPath(inputPath string, outputPath string) bool

func LimitCommandLineValue

func LimitCommandLineValue(val string) string

func LimitResValue

func LimitResValue(val string) string

func LimitValue

func LimitValue(val int32, min int32, max int32) int32

func LoadImageFromMemory

func LoadImageFromMemory(imageData []byte) (imageRGBA *image.RGBA, err error)

func SelectInputPath

func SelectInputPath() string

func SelectOutputPath

func SelectOutputPath() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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