util

package
v0.0.0-...-b0d99ec Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Btoi

func Btoi[T int64 | int32 | int](s string) T

func GetInput

func GetInput(day int) string

func NewBoolMatrix

func NewBoolMatrix(width, height int) map[int]map[int]bool

func NumberList

func NumberList(in string, separator string) []int

func ParseInt

func ParseInt[T int64 | int32 | int](s string) T

func ReadInput

func ReadInput(in, splitBy string) []string

func Reverse

func Reverse(s string) string

func Str2Int

func Str2Int(in string) int

func WithProfiling

func WithProfiling() func()

func WithTime

func WithTime() func()

Types

This section is empty.

Jump to

Keyboard shortcuts

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