config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activity

type Activity struct {
	ProjectId string
	ServiceId string
}

type Config

type Config interface {
	GetApiUrl() string
	GetApiKey() string
	GetActivity(activity string) Activity
	GetDisplayLocation() *time.Location
	GetVacation() Vacation
	Get(key string) string
	Set(key string, value string)
	PrintAll()
}

func NewConfig

func NewConfig(fullPath string) Config

type Vacation

type Vacation struct {
	ProjectId string
	ServiceId string
	Days      string
}

Jump to

Keyboard shortcuts

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