Documentation ¶
Index ¶
- func CheckCommand(command string) error
- func CheckPath(target string) error
- func Clear()
- func Contains(x string, data []string) bool
- func Fatalf(format string, args ...interface{})
- func GetSolcjsList() []string
- func HttpGetJson(url string, result interface{}) error
- func HttpGetRaw(url string) ([]byte, error)
- func MaptoStruct(data interface{}, result interface{}) error
- func ReadFile(target string) ([]byte, error)
- func ReadJson(target string, result interface{}) error
- func WriteFile(target string, data []byte) error
- func WriteJson(target string, data interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCommand ¶
CheckCommand is a function for checking command/programs wether exist or not
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf will format message and exit the app
func GetSolcjsList ¶
func GetSolcjsList() []string
GetSolcjsList will fetch available solc-js version
func HttpGetJson ¶
HttpGetJson will do http request `get` with json result
func HttpGetRaw ¶
HttpGetRaw will do http request `get` with raw result
func MaptoStruct ¶
func MaptoStruct(data interface{}, result interface{}) error
MaptoStruct is a function to convert map into struct
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.