fetch

package
v0.0.0-...-4cb1c8c Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Day

func Day(ctx context.Context, session *http.Cookie, year, day int) (*model.Day, error)

Day will perform the necessary HTTP magic to get an Advent of Code day for the given year and date.

func FirefoxCookie

func FirefoxCookie() (*http.Cookie, error)

FirefoxCookie reads the adventofcode.com session cookie from the default profile in the local install of Firefox.

Types

This section is empty.

Jump to

Keyboard shortcuts

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