day2

package
v0.0.0-...-b38b610 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aim

func Aim(dirs chan Direction) int

func Depth

func Depth(dirs chan Direction) int

Types

type Direction

type Direction struct {
	Position Position
	Number   int
}

type Position

type Position string
const (
	Up      Position = "up"
	Forward Position = "forward"
	Down    Position = "down"
)

Jump to

Keyboard shortcuts

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