remove unused contrib folder

This commit is contained in:
Gabriel Augendre 2024-10-30 16:28:56 +01:00
parent 1c05d23bb3
commit 9b1b0c8986
No known key found for this signature in database
GPG key ID: 0073D1CD7EC5A253

View file

@ -1,21 +0,0 @@
package contrib
import "context"
func ok() {
ctx := context.Background()
for i := 0; i < 10; i++ {
ctx := context.WithValue(ctx, "key", i)
_ = ctx
}
}
func notOk() {
ctx := context.Background()
for i := 0; i < 10; i++ {
ctx = context.WithValue(ctx, "key", i) // "nested context in loop"
_ = ctx
}
}