Prepare main for GitHub Action Build

pull/5/head
Paulo Truta 2020-11-08 23:51:56 +01:00
parent 8ac1174b88
commit 78b89a107b
1 changed files with 7 additions and 7 deletions

14
main.go
View File

@ -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)
} }