You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
260 B
Go
21 lines
260 B
Go
9 years ago
|
package pocsag
|
||
|
|
||
|
import (
|
||
|
"github.com/fatih/color"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
DEBUG bool
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
green = color.New(color.FgGreen)
|
||
|
red = color.New(color.FgRed)
|
||
|
blue = color.New(color.FgBlue)
|
||
|
)
|
||
|
|
||
|
// Tell the package to print debug data
|
||
|
func SetDebug(d bool) {
|
||
|
DEBUG = d
|
||
|
}
|