update

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoUpdater = errors.New("no updater registered")

Functions

func Apply

func Apply(file, newVersion string) error

func Register

func Register(name string, u Updater)

Types

type Updater

type Updater func(string, *os.File) error

Jump to

Keyboard shortcuts

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