(ctx context.Context)
| 68 | } |
| 69 | |
| 70 | func getTestContext(ctx context.Context) *TestContext { |
| 71 | val := ctx.Value(renderContextKey) |
| 72 | if val == nil { |
| 73 | return nil |
| 74 | } |
| 75 | return val.(*TestContext) |
| 76 | } |
| 77 | |
| 78 | func Test1(t *testing.T) { |
| 79 | log.Printf("hello!\n") |