mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 23:30:36 +00:00
fedcc6b6fc
They're not supported in Neo 3. Also change data encoding to base64 following Neo 3 changes.
24 lines
626 B
Go
24 lines
626 B
Go
// Code generated by "stringer -type=AttrUsage"; DO NOT EDIT.
|
|
|
|
package transaction
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[DescriptionURL-129]
|
|
}
|
|
|
|
const _AttrUsage_name = "DescriptionURL"
|
|
|
|
var _AttrUsage_index = [...]uint8{0, 14}
|
|
|
|
func (i AttrUsage) String() string {
|
|
i -= 129
|
|
if i >= AttrUsage(len(_AttrUsage_index)-1) {
|
|
return "AttrUsage(" + strconv.FormatInt(int64(i+129), 10) + ")"
|
|
}
|
|
return _AttrUsage_name[_AttrUsage_index[i]:_AttrUsage_index[i+1]]
|
|
}
|