api

package
v0.0.0-...-85042f7 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Progress

type Progress struct {
	Solutions map[string]*Solution `json:"solutions"`
	YearStart int                  `json:"start"`
	YearEnd   int                  `json:"end"`
}

type Server

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

https://tutorialedge.net/golang/creating-restful-api-with-golang/

var SERVER *Server

func NewServer

func NewServer(c *cli.CLI, application *app.AOC) *Server

func (*Server) Run

func (server *Server) Run()

type Solution

type Solution struct {
	Part1Solution bool `json:"c1"`
	Part2Solution bool `json:"c2"`
	Part1Api      bool `json:"a1"`
	Part2Api      bool `json:"a2"`
}

Jump to

Keyboard shortcuts

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