common

package
v0.0.0-...-5351d50 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InputURL   = "https://adventofcode.com/2021/day/%d/input"
	ConfigFile = "../config.yaml"
)

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig()

func OpenDayData

func OpenDayData(day int) (*os.File, error)

Types

type Config

type Config struct {
	SessionCookie string `yaml:"SessionCookie,omitempty"`
	InputPath     string `yaml:"InputPath,omitempty"`
}
var (
	ConfigData Config
)

Jump to

Keyboard shortcuts

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