package
0.0.0-20170901142047-0caaa62d3e26
Repository: https://github.com/sqp/godock.git
Documentation: pkg.go.dev

# Functions

GetSourceType try to detect an applet type based on its location and content.
Init will try to load the build config data from the file, and create it if missing.
NewBuilder creates the target renderer/builder.
ProcessUptime returns the time when the process started.
ProcessUptimeToSeconds converts a ProcessUptime to a number of seconds.

# Constants

TODO move to config as common.
Dock one external applet compiled (go, mono, vala).
Dock one internal applet (C).
Dock all internal applets (C).
Dock one external applet script (bash, python, ruby).
Dock core.
New dock.
Do nothing.

# Variables

AppletInfo returns an applet location and icon.
AppletRestart restarts an applet.
Set by the dock or external backend.
CmdSudo defines the command used to get root access for installation.
Current is the user build config live settings (what is currently active).
IconMissing defines the optional path to the default icon package emblem.

# Structs

BuilderApplets builds all Cairo-Dock plug-ins.
BuilderBase provides basic informations about a build.
BuilderCompiled builds external applet that must be compiled (golang or vala).
BuilderCore builds the dock core sources.
BuilderGodock builds the new go dock version.
BuilderInternal builds a Cairo-Dock internal applet.
BuilderNull is an empty Build for fallback.
BuilderProgress provides a callback handler for Builders.
Config defines the options the user can set about the GUI itself.
Counter counts builds and crashs.

# Interfaces

Builder defines the common builder interface.

# Type aliases

SourceType defines the type of a builder.