api

package
v0.0.0-...-6cf73a8 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdventOfCodeAPI

type AdventOfCodeAPI struct {
	Year   int
	Cookie string
}

AdventOfCodeAPI Used for interacting with the AdventOfCode web API. This is a public struct (aka class) because the name is in Pascal-casing.

func (*AdventOfCodeAPI) GetInputForDay

func (api *AdventOfCodeAPI) GetInputForDay(day int) string

GetInputForDay Get the input for the given advent day. Note: Public (aka Pascal-cased) functions must always have a documentation comment above them in Go.

Jump to

Keyboard shortcuts

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