util

package
v0.0.0-...-d7a3f69 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2019 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendStringToFile

func AppendStringToFile(path, text string) error

func Between

func Between(value string, a string, b string) string

func ByteToString

func ByteToString(a []byte) string

func ComposeJSON

func ComposeJSON(intrfc string, bytecode string, contractAdd string) (json string)

func CreateFile

func CreateFile(path string)

func DecodeLargeInt

func DecodeLargeInt(s string) string

func DeleteFile

func DeleteFile(path string)

func DeleteProperty

func DeleteProperty(property string, filepath string)

func EncodeLargeInt

func EncodeLargeInt(i string) string

func File2lines

func File2lines(filePath string) ([]string, error)

func HexStringtoInt64

func HexStringtoInt64(hexVal string) (intVal int64)

func HexStringtoLargeInt64

func HexStringtoLargeInt64(hexVal string) string

func InsertStringToFile

func InsertStringToFile(path, str string, index int) error

func IntToString

func IntToString(i int) string

func LinesFromReader

func LinesFromReader(r io.Reader) ([]string, error)

func MustGetString

func MustGetString(key string, filename *properties.Properties) (val string)

func PropertyExists

func PropertyExists(property string, filepath string) string

func StringToInt

func StringToInt(s string) int

func TakeSliceArg

func TakeSliceArg(arg interface{}) (out []interface{}, ok bool)

func TotalTime

func TotalTime(start int)

func WriteFile

func WriteFile(path string, content string)

Types

type Uint256

type Uint256 struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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