gubase

package
v0.0.0-...-29d7d09 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorBlack   = 0
	ColorRed     = 1
	ColorGreen   = 2
	ColorYellow  = 3
	ColorBlue    = 4
	ColorMagenta = 5
	ColorCyan    = 6
	ColorWhite   = 7
)
View Source
const PrefsFileName = ".gucli.json"

Variables

This section is empty.

Functions

func Color

func Color(text string, color int) string

func GetCurrentUser

func GetCurrentUser() *user.User

func GetPref

func GetPref(name string) interface{}

func GetPrefsPath

func GetPrefsPath() string

func ReadPrefs

func ReadPrefs()

func SetPref

func SetPref(name string, value interface{})

func WritePrefs

func WritePrefs()

Types

This section is empty.

Jump to

Keyboard shortcuts

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