util

package
v0.0.0-...-dde2fb4 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 9 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.2"

Version represents version of this tool

Variables

This section is empty.

Functions

func Do

func Do() (bool, error)

Do execute updating binary

func HasPkg

func HasPkg(obj types.Object) bool

func InitializeLog

func InitializeLog(verbose bool)

InitializeLog initialize log settings

func IsStandardPackage

func IsStandardPackage(pkg string) bool

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