setup

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package setup automatically collects system information. This information is collected before the cli.App context is created. It is fed to the `app` package for processing when creating the cli.App context through the `main` package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	App     string
	Commit  string
	Home    string
	Version string
}

Config is the struct containing automatically collected configuration information.

func Init

func Init(a string, c string, v string) (*Config, error)

Init sets up the environment for the app

Jump to

Keyboard shortcuts

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