subnetidtest

package
v1.0.0-rc.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package subnetidtest provides functions for convenient testing of subnetid package API.

Note that importing the package into source files is highly discouraged.

Random instance generation functions can be useful when testing expects any value, e.g.:

import subnetidtest "github.com/nspcc-dev/neofs-sdk-go/suibnet/id/test"

value := subnetidtest.ID()
// test the value

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ID

func ID() (x subnetid.ID)

ID generates and returns random subnetid.ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL