app

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Config *Config
}

The App struct is responsible to hold app-wide related entities. Currently it has only the gui.Gui pointer for interface entity.

func New

func New(argConfig *Config) (*App, error)

New will handle pre-required operations. It is designed to be a wrapper for main method right now.

func (*App) Run

func (a *App) Run() error

Run starts the application.

type Config

type Config struct {
	Directories []string
	LogLevel    string
	Depth       int
	QuickMode   bool
	Mode        string
}

Config is an assembler data to initiate a setup

Jump to

Keyboard shortcuts

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