internal

package
v0.0.0-...-25999d1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DateFormat = "02.01.2006"

Variables

This section is empty.

Functions

func Done

func Done()

func Error

func Error(s string)

func Fatal

func Fatal(s string)

func Info

func Info(s string)

func Input

func Input(untilValid bool, multiLine bool) string

func Parse

func Parse(cfg *Config, file []byte) error

func Title

func Title()

func Warning

func Warning(s string)

Types

type Config

type Config struct {
	InputFile  string `yaml:"inputFile"`
	OutputFile string `yaml:"outputFile"`

	Born   string       `yaml:"born"`
	Github GithubConfig `yaml:"github"`
}

func ParseConfig

func ParseConfig() (*Config, error)

type GithubConfig

type GithubConfig struct {
	Token    string `yaml:"token"`
	Username string `yaml:"username"`

	Repositories []string `yaml:"repositories"`
}

Jump to

Keyboard shortcuts

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