util

package
v0.0.0-...-1b81556 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2018 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendToCSV

func AppendToCSV(csvfile string, d map[string]string) ([]map[string]string, error)

Types

type Config

type Config struct {
	Sonarqube SonarSetting
	File      Files
}

func ReadConf

func ReadConf(path string) Config

type Files

type Files struct {
	Origin string
	Output string
}

type SonarAuthentication

type SonarAuthentication struct {
	Login    string
	Password string
}

type SonarSetting

type SonarSetting struct {
	URL            string
	Resource       string
	Branch         string
	Metrics        []string
	Authentication SonarAuthentication `toml:"auth"`
}

Jump to

Keyboard shortcuts

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