File tree Expand file tree Collapse file tree 3 files changed +1
-11
lines changed
tgscrumbot/cmd/tgscrumbot Expand file tree Collapse file tree 3 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/go-telegram-bot-api/telegram-bot-api/v5 v5.5.1
7
7
github.com/lmittmann/tint v1.0.4
8
- github.com/mattn/go-isatty v0.0.20
9
8
)
10
-
11
- require golang.org/x/sys v0.6.0 // indirect
Original file line number Diff line number Diff line change @@ -2,7 +2,3 @@ github.com/go-telegram-bot-api/telegram-bot-api/v5 v5.5.1 h1:wG8n/XJQ07TmjbITcGi
2
2
github.com/go-telegram-bot-api/telegram-bot-api/v5 v5.5.1 /go.mod h1:A2S0CWkNylc2phvKXWBBdD3K0iGnDBGbzRpISP2zBl8 =
3
3
github.com/lmittmann/tint v1.0.4 h1:LeYihpJ9hyGvE0w+K2okPTGUdVLfng1+nDNVR4vWISc =
4
4
github.com/lmittmann/tint v1.0.4 /go.mod h1:HIS3gSy7qNwGCj+5oRjAutErFBl4BzdQP6cJZ0NfMwE =
5
- github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY =
6
- github.com/mattn/go-isatty v0.0.20 /go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y =
7
- golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ =
8
- golang.org/x/sys v0.6.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
Original file line number Diff line number Diff line change 8
8
"time"
9
9
10
10
"github.com/lmittmann/tint"
11
- "github.com/mattn/go-isatty"
12
11
13
12
"github.com/teamin-pro/tgscrumbot/tgscrumbot/internal"
14
13
)
@@ -21,12 +20,10 @@ var (
21
20
func main () {
22
21
flag .Parse ()
23
22
24
- w := os .Stdout
25
23
slog .SetDefault (slog .New (
26
- tint .NewHandler (w , & tint.Options {
24
+ tint .NewHandler (os . Stdout , & tint.Options {
27
25
Level : slog .LevelDebug ,
28
26
TimeFormat : time .Kitchen ,
29
- NoColor : ! isatty .IsTerminal (w .Fd ()),
30
27
}),
31
28
))
32
29
You can’t perform that action at this time.
0 commit comments