Prepare main for GitHub Action Build
parent
8ac1174b88
commit
78b89a107b
14
main.go
14
main.go
|
@ -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)
|
||||
|
||||
}
|
Loading…
Reference in New Issue