14 lines
132 B
Go
14 lines
132 B
Go
|
package global
|
||
|
|
||
|
import "log"
|
||
|
|
||
|
type AdventRunner interface {
|
||
|
Run(int)
|
||
|
}
|
||
|
|
||
|
func E(err error) {
|
||
|
if err != nil {
|
||
|
log.Panic(err)
|
||
|
}
|
||
|
}
|