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")
|
fmt.Println("Hello World")
|
||||||
|
|
||||||
client := redis.NewClient(&redis.Options{
|
// client := redis.NewClient(&redis.Options{
|
||||||
Addr: "redis:6379",
|
// Addr: "edgebox-queue:6379",
|
||||||
Password: "", // no password set
|
// Password: "", // no password set
|
||||||
DB: 0, // use default DB
|
// DB: 0, // use default DB
|
||||||
})
|
// })
|
||||||
pong, err := client.Ping().Result()
|
// pong, err := client.Ping().Result()
|
||||||
fmt.Println(pong, err)
|
// fmt.Println(pong, err)
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue