mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-26 14:46:52 +02:00
Prepare main for GitHub Action Build
This commit is contained in:
@@ -9,12 +9,12 @@ func main() {
|
||||
|
||||
fmt.Println("Hello World")
|
||||
|
||||
client := redis.NewClient(&redis.Options{
|
||||
Addr: "redis:6379",
|
||||
Password: "", // no password set
|
||||
DB: 0, // use default DB
|
||||
})
|
||||
pong, err := client.Ping().Result()
|
||||
fmt.Println(pong, err)
|
||||
// client := redis.NewClient(&redis.Options{
|
||||
// Addr: "edgebox-queue:6379",
|
||||
// Password: "", // no password set
|
||||
// DB: 0, // use default DB
|
||||
// })
|
||||
// pong, err := client.Ping().Result()
|
||||
// fmt.Println(pong, err)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user