You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
golog/gin_middleware/context_test.go

17 lines
192 B

package gin_middleware
import (
"context"
"testing"
)
func TestContext(t *testing.T) {
ctx := context.Background()
t.Log(ctx)
ctx = context.WithValue(ctx, "k1", "测试")
t.Log()
}