From 27cc952587e06a2d3275cb743b0a2cba064c22ea Mon Sep 17 00:00:00 2001 From: marshyski Date: Fri, 20 Nov 2020 16:54:09 -0500 Subject: [PATCH] Updated README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d86b421..6b78639 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ http.Client timeout is set to `300ms`. Sometimes hitting the metadata service to fast will return empty instead of the cloud provider detected. +```go package main import ( @@ -19,3 +20,4 @@ http.Client timeout is set to `300ms`. Sometimes hitting the metadata service to fmt.Println(detectcloud.Detect()) } +```