config

package
v0.0.0-...-39ba7e3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConfigFile string
	ConfigDir  string

	*Data
	// contains filtered or unexported fields
}

func New

func New(configDir string) *Config

func (*Config) IsReady

func (c *Config) IsReady() bool

func (*Config) Write

func (c *Config) Write() error

type Data

type Data struct {
	*Gitlab
}

type Gitlab

type Gitlab struct {
	Url      string   `json:"url"`
	Token    string   `json:"token"`
	UserId   int      `json:"user_id"`
	Projects []string `json:"projects"`
}

Jump to

Keyboard shortcuts

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