sample

package
v0.6.26-beta.8 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccAddress

func AccAddress() string

AccAddress returns a sample account address

func ReadTestFile

func ReadTestFile(name string) []byte

"Read the file named `name` and return the contents as a byte slice. If there's an error, panic."

The `ioutil.ReadFile` function returns two values: the data and an error. If there's an error, we panic. If there's no error, we return the data

Types

This section is empty.

Jump to

Keyboard shortcuts

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