[en]: Add package main to client-go example

The package main is missing from the example.

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
This commit is contained in:
Douglas Schilling Landgraf
2020-09-08 20:56:13 -04:00
parent 5afff65919
commit ed8ffbda4c
@@ -171,6 +171,8 @@ The Go client can use the same [kubeconfig file](/docs/concepts/configuration/or
as the kubectl CLI does to locate and authenticate to the API server. See this [example](https://git.k8s.io/client-go/examples/out-of-cluster-client-configuration/main.go):
```golang
package main
import (
"fmt"
"k8s.io/apimachinery/pkg/apis/meta/v1"