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