(ctx context.Context)
| 35 | } |
| 36 | |
| 37 | func newEnv(ctx context.Context) *env { |
| 38 | if ctx == nil { |
| 39 | ctx = context.Background() |
| 40 | } |
| 41 | return &env{ |
| 42 | ctx: ctx, |
| 43 | putConfig: &PutConfig{}, |
| 44 | timestamp: time.Now().UnixNano(), |
| 45 | kind: partitions.PRIMARY, |
| 46 | } |
| 47 | } |
no outgoing calls