From 07a1f562c83e12efc26231959407cbd92141a83c Mon Sep 17 00:00:00 2001 From: surdeus Date: Fri, 5 Jan 2024 03:35:27 +0300 Subject: [PATCH] YES --- cmd/test/main.go | 20 ++++++++++---------- go.mod | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cmd/test/main.go b/cmd/test/main.go index 9e578cb..dc32121 100644 --- a/cmd/test/main.go +++ b/cmd/test/main.go @@ -6,7 +6,7 @@ import ( "strings" "fmt" - "github.com/di4f/tg" + "vultras.su/core/tg" ) type BotData struct { @@ -130,32 +130,32 @@ var beh = tg.NewBehaviour(). "panel", tg.RenderFunc(func(c *tg.Context) tg.UI { var ( - n = 0 - ln = 4 + n = 0 + ln = 4 panel *tg.PanelCompo ) - + panel = tg.NewMessage( "Some panel", - ).Panel(c, tg.RowserFunc(func(c *tg.Context) []tg.ButtonRow{ + ).Panel(c, tg.RowserFunc(func(c *tg.Context) []tg.ButtonRow { btns := []tg.ButtonRow{ tg.ButtonRow{tg.NewButton("Static shit")}, } - for i:=0 ; i