part02

package
v0.0.0-...-1af9f05 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sum

func Sum(g *Grid) int

Types

type Coord

type Coord struct {
	Y int
	X int
}

func Add

func Add(a, b Coord) Coord

func Rotate

func Rotate(c Coord, ccw bool) Coord

type Grid

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

func Parse

func Parse(input string) *Grid

type Point

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

Jump to

Keyboard shortcuts

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