Skip to content

Commit

Permalink
update: remove go mod steps
Browse files Browse the repository at this point in the history
  • Loading branch information
tucktuck9 committed Sep 27, 2023
1 parent a0a9578 commit 1953b16
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/get-started/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,8 @@ This sample shows the basic structure of a cdk8s application with the essential
## Define Kubernetes resources
Now, let's delve into defining Kubernetes resources for our application. In this example, we'll outline a basic Kubernetes [Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) for a sample app. We'll start by importing the `imports` directory and the `k8s` sub-directory, which houses all cdk8s Kubernetes classes and functions.

### Update the `go.mod` file
1. Open your `go.mod` file and add the following line at the bottom of the file:
```go
replace example.com/cdk8s-golang/imports/k8s => ./imports/k8s
```

### Copy the code sample

1. Copy and paste the following code sample into the existing `main.go` file of your project.

```typescript
Expand Down

0 comments on commit 1953b16

Please sign in to comment.