util

package
v0.0.0-...-a048d37 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InitContractMethod = "initialize"
)

Variables

This section is empty.

Functions

func ContractCodeDescKey

func ContractCodeDescKey(contractName string) []byte

func ContractCodeKey

func ContractCodeKey(contractName string) []byte

func CreateDirIfMissing

func CreateDirIfMissing(dirPath string) (bool, error)

CreateDirIfMissing creates a dir for dirPath if not already exists. If the dir is empty it returns true

func DirEmpty

func DirEmpty(dirPath string) (bool, error)

DirEmpty returns true if the dir at dirPath is empty

func GoPath

func GoPath() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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