initial import

This commit is contained in:
SourceFellows committed 2020-08-21 06:26:40 +02:00
commit e223458dd4
423 files changed
+9871

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package main
import (
"context"
"fmt"
)
type contextKey string
func main() {
var key contextKey = "test"
ctx := context.Background()
ctx = context.WithValue(ctx, key, "world")
fmt.Println(ctx.Value(key))
}