NameFormat
type NameFormat
Two different view options for a name. `At` -> `test@example` | `Dot` -> `test.example.iota`
type NameFormat uint
const (
NameFormatAt NameFormat = 1
NameFormatDot NameFormat = 2
)
func (NameFormat) ToDisplayString
func (_self NameFormat) ToDisplayString() string
Render this type as human-readable text.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.