@@ -49,7 +49,7 @@ func listProjectsHandler(ctx *ext.Context) error {
4949 text := fmt .Sprintf ("📦 %s (%s)" , app .Name , app .Status )
5050 data := "project_menu:" + app .UUID
5151
52- kb .Rows = append (kb .Rows , []* gotdbot.InlineKeyboardButton {
52+ kb .Rows = append (kb .Rows , []gotdbot.InlineKeyboardButton {
5353 {
5454 Text : text ,
5555 TypeField : & gotdbot.InlineKeyboardButtonTypeCallback {
@@ -60,10 +60,10 @@ func listProjectsHandler(ctx *ext.Context) error {
6060 }
6161
6262 if len (paginationButtons ) > 0 {
63- row := make ([]* gotdbot.InlineKeyboardButton , 0 , len (paginationButtons ))
63+ row := make ([]gotdbot.InlineKeyboardButton , 0 , len (paginationButtons ))
6464
6565 for _ , btn := range paginationButtons {
66- row = append (row , & gotdbot.InlineKeyboardButton {
66+ row = append (row , gotdbot.InlineKeyboardButton {
6767 Text : btn .Text ,
6868 TypeField : & gotdbot.InlineKeyboardButtonTypeCallback {
6969 Data : []byte (btn .Data ),
@@ -99,7 +99,7 @@ func projectMenuHandler(ctx *ext.Context) error {
9999
100100 text := fmt .Sprintf ("<b>📦 %s</b>\n 🌐 %s\n 📄 Status: <code>%s</code>" , app .Name , app .FQDN , app .Status )
101101 kb := & gotdbot.ReplyMarkupInlineKeyboard {
102- Rows : [][]* gotdbot.InlineKeyboardButton {
102+ Rows : [][]gotdbot.InlineKeyboardButton {
103103 {
104104 {
105105 Text : "🔄 Restart" ,
@@ -182,7 +182,7 @@ func restartHandler(ctx *ext.Context) error {
182182 uuid := strings .TrimPrefix (cbData , "restart:" )
183183
184184 kb := & gotdbot.ReplyMarkupInlineKeyboard {
185- Rows : [][]* gotdbot.InlineKeyboardButton {
185+ Rows : [][]gotdbot.InlineKeyboardButton {
186186 {
187187 {
188188 Text : "🔙 Back" ,
@@ -219,7 +219,7 @@ func deployHandler(ctx *ext.Context) error {
219219 uuid := strings .TrimPrefix (cbData , "deploy:" )
220220
221221 kb := & gotdbot.ReplyMarkupInlineKeyboard {
222- Rows : [][]* gotdbot.InlineKeyboardButton {
222+ Rows : [][]gotdbot.InlineKeyboardButton {
223223 {
224224 {
225225 Text : "🔙 Back" ,
@@ -255,7 +255,7 @@ func logsHandler(ctx *ext.Context) error {
255255 uuid := strings .TrimPrefix (cb .DataString (), "logs:" )
256256
257257 kb := & gotdbot.ReplyMarkupInlineKeyboard {
258- Rows : [][]* gotdbot.InlineKeyboardButton {
258+ Rows : [][]gotdbot.InlineKeyboardButton {
259259 {
260260 {
261261 Text : "🔙 Back" ,
@@ -312,7 +312,7 @@ func statusHandler(ctx *ext.Context) error {
312312 uuid := strings .TrimPrefix (cbData , "status:" )
313313
314314 kb := & gotdbot.ReplyMarkupInlineKeyboard {
315- Rows : [][]* gotdbot.InlineKeyboardButton {
315+ Rows : [][]gotdbot.InlineKeyboardButton {
316316 {
317317 {
318318 Text : "🔙 Back" ,
@@ -350,7 +350,7 @@ func stopHandler(ctx *ext.Context) error {
350350
351351 res , err := config .Coolify .StopApplicationByUUID (uuid )
352352 kb := & gotdbot.ReplyMarkupInlineKeyboard {
353- Rows : [][]* gotdbot.InlineKeyboardButton {
353+ Rows : [][]gotdbot.InlineKeyboardButton {
354354 {
355355 {
356356 Text : "🔙 Back" ,
@@ -386,7 +386,7 @@ func deleteHandler(ctx *ext.Context) error {
386386
387387 err := config .Coolify .DeleteApplicationByUUID (uuid )
388388 kb := & gotdbot.ReplyMarkupInlineKeyboard {
389- Rows : [][]* gotdbot.InlineKeyboardButton {
389+ Rows : [][]gotdbot.InlineKeyboardButton {
390390 {
391391 {
392392 Text : "🔙 Back" ,
@@ -421,7 +421,7 @@ func scheduleMenuHandler(ctx *ext.Context) error {
421421 uuid := strings .TrimPrefix (cbData , "sch_m:" )
422422
423423 kb := & gotdbot.ReplyMarkupInlineKeyboard {
424- Rows : [][]* gotdbot.InlineKeyboardButton {
424+ Rows : [][]gotdbot.InlineKeyboardButton {
425425 {
426426 {
427427 Text : "🔄 Restart" ,
@@ -470,7 +470,7 @@ func scheduleActionHandler(ctx *ext.Context) error {
470470
471471 // Common intervals
472472 kb := & gotdbot.ReplyMarkupInlineKeyboard {
473- Rows : [][]* gotdbot.InlineKeyboardButton {
473+ Rows : [][]gotdbot.InlineKeyboardButton {
474474 {
475475 {
476476 Text : "Hourly" ,
@@ -576,7 +576,7 @@ func scheduleCreateHandler(ctx *ext.Context) error {
576576 }
577577
578578 kb := & gotdbot.ReplyMarkupInlineKeyboard {
579- Rows : [][]* gotdbot.InlineKeyboardButton {
579+ Rows : [][]gotdbot.InlineKeyboardButton {
580580 {
581581 {
582582 Text : "🔙 Back" ,
0 commit comments