update an variables name
This commit is contained in:
parent
4628fc7519
commit
57189b093a
1 changed files with 3 additions and 3 deletions
|
@ -6,8 +6,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
Enabled bool = false
|
Enabled bool = false
|
||||||
DebugTitle string = "DEBUG"
|
Title string = "DEBUG"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
@ -22,6 +22,6 @@ func init() {
|
||||||
|
|
||||||
func Print(message ...any) {
|
func Print(message ...any) {
|
||||||
if Enabled {
|
if Enabled {
|
||||||
log.Println(DebugTitle, message)
|
log.Println(Title, message)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue