forked from TrueCloudLab/frostfs-node
Dmitrii Stepanov
18d8898b00
Pass required deps as args. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
11 lines
159 B
Go
11 lines
159 B
Go
package v2
|
|
|
|
import (
|
|
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
|
|
)
|
|
|
|
func WithOID(v *oid.ID) Option {
|
|
return func(c *cfg) {
|
|
c.obj = v
|
|
}
|
|
}
|