version

package
v0.99.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: BSD-3-Clause Imports: 5 Imported by: 54

Documentation

Overview

Placeholder that indicates this directory is a valid go package, but that redo must 'redo all' in this directory before it can be imported.

Package version provides the version that the binary was built at.

Index

Constants

View Source
const LONG = "date.20200410"
View Source
const SHORT = LONG // TODO: unused; remove SHORT? Make it a func?

Variables

This section is empty.

Functions

func CmdName

func CmdName() string

CmdName returns either the base name of the current binary using os.Executable. If os.Executable fails (it sholdn't), then "cmd" is returned.

func IsMobile

func IsMobile() bool

IsMobile reports whether this is a mobile client build.

func OS added in v0.98.0

func OS() string

OS returns runtime.GOOS, except instead of returning "darwin" it returns "iOS" or "macOS".

Types

This section is empty.

Jump to

Keyboard shortcuts

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