Skip to content

Commit

Permalink
refactor: Updated go deploy config with perl install command
Browse files Browse the repository at this point in the history
  • Loading branch information
pchinthapenta committed Jan 20, 2024
1 parent 9dba98b commit 9372f89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions test/deploy/linux/go/templates/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ package main

import (
"fmt"
"github.com/gin-gonic/gin"
"time"
)

//importCommand
//importGinCommand
"github.com/gin-gonic/gin"
)

// importCommand
// importGinCommand
func main() {
go client()
//codeSnippet

//codeSnippet
transactions := make(chan string)

go func() {
Expand All @@ -24,8 +24,7 @@ func main() {
}
}()

// routerSnippet

//routerSnippet
router.GET("/transaction", func(c *gin.Context) {
transaction := <-transactions
c.JSON(200, gin.H{
Expand Down
Empty file.

0 comments on commit 9372f89

Please sign in to comment.