frostfs-node/pkg/services/object/head/prm.go
Pavel Karpy 1667ec9e6d [] *: Adopt SDK changes
`object.Address` has been moved to `object/address`
`object.ID` has been moved to `object/id`

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-02-08 09:45:38 +03:00

17 lines
239 B
Go

package headsvc
import (
addressSDK "github.com/nspcc-dev/neofs-sdk-go/object/address"
)
type Prm struct {
addr *addressSDK.Address
}
func (p *Prm) WithAddress(v *addressSDK.Address) *Prm {
if p != nil {
p.addr = v
}
return p
}