(ctx context.Context, i mount.Interface)
| 9 | type mounterKey struct{} |
| 10 | |
| 11 | func WithMounter(ctx context.Context, i mount.Interface) context.Context { |
| 12 | return context.WithValue(ctx, mounterKey{}, i) |
| 13 | } |
| 14 | |
| 15 | func Mounter(ctx context.Context) mount.Interface { |
| 16 | m := ctx.Value(mounterKey{}) |