aoc

package
v0.0.0-...-624a323 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RootURL    = "https://adventofcode.com/"
	URLPattern = "https://adventofcode.com/2022/day/%s/input"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher struct {
	// contains filtered or unexported fields
}

func NewFetcher

func NewFetcher(log *zap.Logger, sessionCookie string, localFolder string) (Fetcher, error)

func (Fetcher) FetchInput

func (f Fetcher) FetchInput(ctx context.Context, day string) (string, error)

Jump to

Keyboard shortcuts

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