mirror of
https://github.com/jlelse/GoBlog
synced 2024-06-29 12:07:36 +00:00
10 lines
138 B
Go
10 lines
138 B
Go
package main
|
|
|
|
import "log"
|
|
|
|
func (a *goBlog) debug(msg ...any) {
|
|
if a.cfg.Debug {
|
|
log.Println(append([]any{"Debug:"}, msg...)...)
|
|
}
|
|
}
|