Skip to content

Commit 333e445

Browse files
committed
Fix go generate instructions
Signed-off-by: Yury Tsarev <[email protected]>
1 parent 5fc63ba commit 333e445

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

NOTES.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ To get started:
33
1. Replace `function-template-go` with your function in `go.mod`,
44
`package/crossplane.yaml`, and any Go imports. (You can also do this
55
automatically by running the `./init.sh <function-name>` script.)
6-
2. Update `input/v1beta1/` to reflect your desired input (and run `go generate`)
6+
2. Update `input/v1beta1/` to reflect your desired input (and run `go generate ./...`)
77
3. Add your logic to `RunFunction` in `fn.go`
88
4. Add tests for your logic in `fn_test.go`
9-
5. Update `README.md`, to be about your function!
9+
5. Update `README.md`, to be about your function!

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you just want to jump in and get started:
1414
1. Replace `function-template-go` with your function in `go.mod`,
1515
`package/crossplane.yaml`, and any Go imports. (You can also do this
1616
automatically by running the `./init.sh <function-name>` script.)
17-
1. Update `input/v1beta1/` to reflect your desired input (and run `go generate`)
17+
1. Update `input/v1beta1/` to reflect your desired input (and run `go generate ./...`)
1818
1. Add your logic to `RunFunction` in `fn.go`
1919
1. Add tests for your logic in `fn_test.go`
2020
1. Update this file, `README.md`, to be about your function!
@@ -41,4 +41,4 @@ $ crossplane xpkg build -f package --embed-runtime-image=runtime
4141
[function guide]: https://docs.crossplane.io/knowledge-base/guides/write-a-composition-function-in-go
4242
[package docs]: https://pkg.go.dev/github.com/crossplane/function-sdk-go
4343
[docker]: https://www.docker.com
44-
[cli]: https://docs.crossplane.io/latest/cli
44+
[cli]: https://docs.crossplane.io/latest/cli

0 commit comments

Comments
 (0)