other: the last moving to the best domain name damn it.

This commit is contained in:
Andrey Parhomenko 2024-05-15 22:41:53 +05:00
parent e119b75640
commit c576e891b8
9 changed files with 20 additions and 22 deletions

View file

@ -1,7 +1,7 @@
package main package main
import ( import (
"vultras.su/core/tg" "surdeus.su/core/tg"
"os" "os"
) )
@ -84,4 +84,3 @@ var BotCommands = []tg.Command{
) )
})), })),
} }

View file

@ -1,7 +1,7 @@
package main package main
import ( import (
"vultras.su/core/tg" "surdeus.su/core/tg"
"fmt" "fmt"
) )
@ -63,4 +63,3 @@ var IncDecWidget = tg.RenderFunc(func(c tg.Context) tg.UI {
), ),
} }
}) })

View file

@ -1,7 +1,7 @@
package main package main
import ( import (
"vultras.su/core/tg" "surdeus.su/core/tg"
) )
var HomeButton = tg.Buttonf("Home").Go("/") var HomeButton = tg.Buttonf("Home").Go("/")

View file

@ -1,7 +1,7 @@
package main package main
import ( import (
"vultras.su/core/tg" "surdeus.su/core/tg"
) )
const ( const (

View file

@ -4,7 +4,7 @@ import (
"log" "log"
"os" "os"
"vultras.su/core/tg" "surdeus.su/core/tg"
) )
type BotData struct { type BotData struct {

View file

@ -1,7 +1,7 @@
package main package main
import ( import (
"vultras.su/core/tg" "surdeus.su/core/tg"
"strings" "strings"
) )
@ -97,4 +97,3 @@ var MutateMessagesEscapeWidget = tg.RenderFunc(func(c tg.Context) tg.UI {
NewMutateMessageCompo(tg.Escape2), NewMutateMessageCompo(tg.Escape2),
} }
}) })

View file

@ -1,7 +1,7 @@
package main package main
import ( import (
"vultras.su/core/tg" "surdeus.su/core/tg"
) )
const ( const (

View file

@ -1,13 +1,14 @@
package main package main
import ( import (
"vultras.su/core/tg" "surdeus.su/core/tg"
"fmt" "fmt"
) )
const ( const (
StartAbsPath tg.Path = "/" StartAbsPath tg.Path = "/"
) )
var StartWidget = tg.RenderFunc(func(c tg.Context) tg.UI { var StartWidget = tg.RenderFunc(func(c tg.Context) tg.UI {
return tg.UI{ return tg.UI{
tg.Messagef( tg.Messagef(

2
go.mod
View file

@ -1,4 +1,4 @@
module vultras.su/core/tg module surdeus.su/core/tg
go 1.20 go 1.20