mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
group var definitions in block
This commit is contained in:
parent
a6aa9859c0
commit
3513f7485d
@ -14,11 +14,13 @@ const (
|
||||
path = "/tmp/ctop.sock"
|
||||
)
|
||||
|
||||
var format = logging.MustStringFormatter(
|
||||
var (
|
||||
exited bool
|
||||
wg sync.WaitGroup
|
||||
format = logging.MustStringFormatter(
|
||||
`%{color}%{time:15:04:05.000} %{shortfunc} ▶ %{level:.4s} %{id:03x}%{color:reset} %{message}`,
|
||||
)
|
||||
var exited bool
|
||||
var wg sync.WaitGroup
|
||||
)
|
||||
|
||||
type CTopLogger struct {
|
||||
*logging.Logger
|
||||
|
Loading…
Reference in New Issue
Block a user