41f17d1a09
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
17 lines
382 B
Go
17 lines
382 B
Go
package address
|
|
|
|
import (
|
|
cidtest "github.com/nspcc-dev/neofs-sdk-go/container/id/test"
|
|
"github.com/nspcc-dev/neofs-sdk-go/object/address"
|
|
oidtest "github.com/nspcc-dev/neofs-sdk-go/object/id/test"
|
|
)
|
|
|
|
// Address returns random object.Address.
|
|
func Address() *address.Address {
|
|
x := address.NewAddress()
|
|
|
|
x.SetContainerID(cidtest.ID())
|
|
x.SetObjectID(oidtest.ID())
|
|
|
|
return x
|
|
}
|