Documentation
¶
Index ¶
- func Capitalise(input string) string
- func Decapitalise(input string) string
- func FormatEvent(event abi.Event, structs map[string]*template.Struct) string
- func FormatMethod(method abi.Method, structs map[string]*template.Struct) string
- func Structured(args abi.Arguments) bool
- func ToCamelCase(str string) string
- func ToSnakeCase(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capitalise ¶
capitalise makes a camel-case string which starts with an upper case character.
func Decapitalise ¶
decapitalise makes a camel-case string which starts with a lower case character.
func FormatEvent ¶
formatEvent transforms raw event representation into a user friendly one.
func FormatMethod ¶
formatMethod transforms raw method representation into a user friendly one.
func Structured ¶
structured checks whether a list of ABI data types has enough information to operate through a proper Go struct or if flat returns are needed.
func ToCamelCase ¶
func ToSnakeCase ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.