mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-04-04 21:57:40 +03:00
Fix linting
This commit is contained in:
parent
7cc8c81bd8
commit
b5158adb51
3 changed files with 10 additions and 11 deletions
18
log/log.go
18
log/log.go
|
@ -8,21 +8,19 @@ import (
|
|||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
// Defaults for package level variables
|
||||
var (
|
||||
DefaultLevel = InfoLevel
|
||||
DefaultFormat = TextFormat
|
||||
DefaultOutput = os.Stderr
|
||||
)
|
||||
|
||||
var (
|
||||
level = DefaultLevel
|
||||
format = DefaultFormat
|
||||
overrides = make(map[string]*levelOverride)
|
||||
mu = &sync.Mutex{}
|
||||
)
|
||||
|
||||
var (
|
||||
DefaultOutput = os.Stderr
|
||||
output io.Writer = DefaultOutput
|
||||
level = DefaultLevel
|
||||
format = DefaultFormat
|
||||
overrides = make(map[string]*levelOverride)
|
||||
output io.Writer = DefaultOutput
|
||||
mu = &sync.Mutex{}
|
||||
)
|
||||
|
||||
// Fatal prints the given message, and exits the program
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue