meta

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Copyright 2022 Tristan Isham. All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file.

Copyright 2022 Tristan Isham. All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file.

Copyright 2022 Tristan Isham. All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file.

Copyright 2022 Tristan Isham. All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file.

Index

Constants

View Source
const (
	VERSION = "v0.8.2"
)

Variables

View Source
var (
	ErrWinEscToAdmin    = errors.New("unable to rerun as Windows Administrator")
	ErrEscalatedSymlink = errors.New("unable to symlink as Administrator")
)
View Source
var VerCopy = fmt.Sprintf("%s %s/%s", VERSION, runtime.GOOS, runtime.GOARCH)

Functions

func CtaFatal added in v0.6.0

func CtaFatal(err error)

CtaFatal prints an aesthetic CTA and exits with an error.

func CtaGeneric added in v0.7.9

func CtaGeneric(header string, text string)

CtaGeneric prints an aesthetic generic notice.

func CtaUpgradeAvailable added in v0.7.1

func CtaUpgradeAvailable(tag string)

CtaUpgradeAvailable prints an aesthetic notice.

func Symlink(oldname, newname string) error

Symlink is a wrapper around Go's os.Symlink, but with automatic privilege escalation on windows for systems that do not support non-admin symlinks.

Types

This section is empty.

Jump to

Keyboard shortcuts

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