File tree 2 files changed +20
-2
lines changed 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change
1
+ .PHONY : clean test build
2
+
3
+ default : test build
4
+
5
+ clean :
6
+ rm -rf dist/ cover.out
7
+
8
+ test : clean
9
+ go test -v -cover ./...
10
+
1
11
build :
2
- @GO111MODULE=on go build -ldflags ' -s -w' -o contextcheck ./cmd/contextcheck/main.go
12
+ go build -ldflags ' -s -w' -o contextcheck ./cmd/contextcheck/main.go
3
13
4
14
install :
5
- @GO111MODULE=on go install -ldflags ' -s -w' ./cmd/contextcheck
15
+ go install -ldflags ' -s -w' ./cmd/contextcheck
Original file line number Diff line number Diff line change @@ -155,3 +155,11 @@ func f13[T int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 |
155
155
156
156
return b
157
157
}
158
+
159
+ /* ----------------- issue 21 ----------------- */
160
+
161
+ func f16 (ctx context.Context , k string ) func () {
162
+ return func () {
163
+ f16 (context .Background (), k )
164
+ }
165
+ }
You can’t perform that action at this time.
0 commit comments