MCPcopy Create free account
hub / github.com/Bitrue-exchange/libada-go / String

Method String

network_string.go:21–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19var _Network_index = [...]uint8{0, 7, 14, 21, 28}
20
21func (i Network) String() string {
22 if i >= Network(len(_Network_index)-1) {
23 return "Network(" + strconv.FormatInt(int64(i), 10) + ")"
24 }
25 return _Network_name[_Network_index[i]:_Network_index[i+1]]
26}

Callers

nothing calls this directly

Calls 1

NetworkTypeAlias · 0.85

Tested by

no test coverage detected