ci/cd test

This commit is contained in:
PB
2022-10-06 20:10:05 +02:00
parent 57ed28d14b
commit dc58c80074
23 changed files with 354 additions and 33 deletions

16
src/internal/app/log.go Normal file
View File

@@ -0,0 +1,16 @@
package app
import "log"
func Panic(v ...any) {
log.Panicln(Name+":", v)
}
func Panicf(format string, v ...any) {
log.Panicf(Name+": "+format, v...)
}
func Panicln(v ...any) {
v = append([]any{Name + ":"}, v...)
log.Panicln(v...)
}