Last active
April 12, 2022 06:51
-
-
Save kkdai/1a81605d33f22603762354e981990596 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func testGCP() err { | |
client, err := storage.NewClient(context.Background()) | |
if err != nil { | |
fmt.Fatalf("Failed to create client: %v", err) | |
return err | |
} | |
defer client.Close() | |
fmt.Println("GCP connection succeessed!") | |
return nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment