Skip to content

Commit

Permalink
remove go.mod and fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-royl committed Jun 7, 2023
1 parent af5c742 commit a7a6d5a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Examples/add_access_rule.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Examples

import (
api "cp-mgmt-api-go-sdk/APIFiles"
api "../APIFiles"
"fmt"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/add_host.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Examples

import (
api "cp-mgmt-api-go-sdk/APIFiles"
api "../APIFiles"
"fmt"
"os"
)
Expand Down
4 changes: 2 additions & 2 deletions Examples/auto_publish.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Examples

import (
api "cp-mgmt-api-go-sdk/APIFiles"
api "../APIFiles"
"fmt"
"os"
"strconv"
Expand Down Expand Up @@ -43,7 +43,7 @@ func AutoPublish() {
}

numOfThreads := 10
numOfObjectsToCreate := 100
numOfObjectsToCreate := 20
threadNamePrefix := "auto-publish-thread"

fmt.Println("Start auto publish program. Number of threads " + strconv.Itoa(numOfThreads))
Expand Down
2 changes: 1 addition & 1 deletion Examples/discard_sessions.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Examples

import (
api "cp-mgmt-api-go-sdk/APIFiles"
api "../APIFiles"
"fmt"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/find_dup_ip.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Examples

import (
api "cp-mgmt-api-go-sdk/APIFiles"
api "../APIFiles"
"fmt"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion Examples/show_hosts.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Examples

import (
api "cp-mgmt-api-go-sdk/APIFiles"
api "../APIFiles"
"fmt"
"os"
)
Expand Down
3 changes: 0 additions & 3 deletions go.mod

This file was deleted.

2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"cp-mgmt-api-go-sdk/Examples"
"./Examples"
"fmt"
"os"
)
Expand Down

0 comments on commit a7a6d5a

Please sign in to comment.