Add missing imports and use log instead of fmt package
@@ -156,7 +156,11 @@ Example: Creating a Resource Group
***Import the packages***
```go
import (
- "contexts"
+ "context"
+ "log"
+ "os"
+ "time"
+
"github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources"
@@ -323,7 +327,7 @@ resp, err = poller.PollUntilDone(context.Background(), 5 * time.Second)
if err != nil {
// handle error...
}
-fmt.Printf("LRO done")
+log.Printf("LRO done")
// dealing with `resp`
```
