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 (
|
||||
Enabled bool = false
|
||||
DebugTitle string = "DEBUG"
|
||||
Enabled bool = false
|
||||
Title string = "DEBUG"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
@ -22,6 +22,6 @@ func init() {
|
|||
|
||||
func Print(message ...any) {
|
||||
if Enabled {
|
||||
log.Println(DebugTitle, message)
|
||||
log.Println(Title, message)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue