Skip to content

Commit

Permalink
refactor: Updated go deploy config with OIL source repository
Browse files Browse the repository at this point in the history
  • Loading branch information
pchinthapenta committed Jan 19, 2024
1 parent 6fdbc74 commit 9dba98b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
Empty file modified test/deploy/linux/go/templates/client.go
100644 → 100755
Empty file.
Empty file modified test/deploy/linux/go/templates/go.mod
100644 → 100755
Empty file.
Empty file modified test/deploy/linux/go/templates/go.sum
100644 → 100755
Empty file.
7 changes: 5 additions & 2 deletions test/deploy/linux/go/templates/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ import (
"time"
)

//importCommand
//importGinCommand

func main() {
go client()
//paste license key code snippet here
//codeSnippet

transactions := make(chan string)

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

// Create a Gin router.
// routerSnippet

router.GET("/transaction", func(c *gin.Context) {
transaction := <-transactions
Expand Down

0 comments on commit 9dba98b

Please sign in to comment.