aoc/internal/global/global.go

14 lines
132 B
Go
Raw Normal View History

2024-07-24 14:29:59 +00:00
package global
import "log"
type AdventRunner interface {
Run(int)
}
func E(err error) {
if err != nil {
log.Panic(err)
}
}