util

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package selfupdate provides function to update binary

Package util provides some utilities

Index

Constants

View Source
const Version = "0.2.5"

Version represents version of this tool

Variables

This section is empty.

Functions

func ConvertStringSliceToIntSlice

func ConvertStringSliceToIntSlice(stringSlice []string) (intSlice []int, err error)

ConvertStringSliceToIntSlice converts string slices to int slices.

func Do

func Do() (bool, error)

Do execute updating binary

func PrettyPrintError

func PrettyPrintError(err error) string

PrettyPrintError print error as pretty

Types

This section is empty.

Jump to

Keyboard shortcuts

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