We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
make docker
1 parent f242a58 commit 590146eCopy full SHA for 590146e
Makefile
@@ -7,6 +7,9 @@ help: ## Display this help message.
7
@grep '^[a-zA-Z]' $(MAKEFILE_LIST) | \
8
awk -F ':.*?## ' 'NF==2 {printf " %-20s%s\n", $$1, $$2}'
9
10
+docker:
11
+ docker run -it -v $(PWD):/workshop -w /workshop ghcr.io/aleksi/golang-tip:dev.fuzz /bin/bash
12
+
13
init: ## Install tools.
14
go generate -x -tags=tools ./tools
15
make build
reverse.go
@@ -1,6 +1,10 @@
1
package pb_fuzz_workshop
2
3
func Reverse(s []int) []int {
4
+ if s == nil {
5
+ return nil
6
+ }
a := make([]int, len(s))
copy(a, s)
0 commit comments