1667ec9e6d
`object.Address` has been moved to `object/address` `object.ID` has been moved to `object/id` Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
17 lines
239 B
Go
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
|
|
}
|