forked from Elara6331/itd
Use rpcxlite
This commit is contained in:
7
main.go
7
main.go
@@ -26,6 +26,8 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
rpcxlog "github.com/smallnest/rpcxlite/log"
|
||||
|
||||
"github.com/gen2brain/dlgs"
|
||||
"github.com/knadh/koanf"
|
||||
"github.com/mattn/go-isatty"
|
||||
@@ -34,6 +36,11 @@ import (
|
||||
"go.arsenm.dev/infinitime"
|
||||
)
|
||||
|
||||
func init() {
|
||||
// Disable rpcxlite logging
|
||||
rpcxlog.SetDummyLogger()
|
||||
}
|
||||
|
||||
var k = koanf.New(".")
|
||||
|
||||
//go:embed version.txt
|
||||
|
||||
Reference in New Issue
Block a user