util

package
v0.0.0-...-bcfcd92 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChallengePath

func ChallengePath() (string, error)

func First

func First[T any](in iter.Seq[T]) (T, bool)

First returns the first item in the sequence and false if the sequence was empty.

func MustAtoI

func MustAtoI(a string) int

func MustPull

func MustPull[T any](next func() (T, bool)) T

MustPull invokes the pull function of the iterator and panics if there are no more items in the sequence.

func PkgPath

func PkgPath(day int) (string, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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