From 9dba98b3ef93304c04a97e1f610b0f09ab726c31 Mon Sep 17 00:00:00 2001 From: pchinthapenta Date: Fri, 19 Jan 2024 13:15:31 +0530 Subject: [PATCH] refactor: Updated go deploy config with OIL source repository --- test/deploy/linux/go/templates/client.go | 0 test/deploy/linux/go/templates/go.mod | 0 test/deploy/linux/go/templates/go.sum | 0 test/deploy/linux/go/templates/server.go | 7 +++++-- 4 files changed, 5 insertions(+), 2 deletions(-) mode change 100644 => 100755 test/deploy/linux/go/templates/client.go mode change 100644 => 100755 test/deploy/linux/go/templates/go.mod mode change 100644 => 100755 test/deploy/linux/go/templates/go.sum diff --git a/test/deploy/linux/go/templates/client.go b/test/deploy/linux/go/templates/client.go old mode 100644 new mode 100755 diff --git a/test/deploy/linux/go/templates/go.mod b/test/deploy/linux/go/templates/go.mod old mode 100644 new mode 100755 diff --git a/test/deploy/linux/go/templates/go.sum b/test/deploy/linux/go/templates/go.sum old mode 100644 new mode 100755 diff --git a/test/deploy/linux/go/templates/server.go b/test/deploy/linux/go/templates/server.go index 7070e63cf..35a4f6715 100755 --- a/test/deploy/linux/go/templates/server.go +++ b/test/deploy/linux/go/templates/server.go @@ -6,9 +6,12 @@ import ( "time" ) +//importCommand +//importGinCommand + func main() { go client() - //paste license key code snippet here + //codeSnippet transactions := make(chan string) @@ -21,7 +24,7 @@ func main() { } }() - // Create a Gin router. + // routerSnippet router.GET("/transaction", func(c *gin.Context) { transaction := <-transactions