util

package
v0.2.33 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func IsVersionGreaterThan added in v0.2.8

func IsVersionGreaterThan(version1, version2 string) (bool, error)

IsVersionGreaterThan check version if it's greater then other

func PrintSandboxMessage added in v0.2.27

func PrintSandboxMessage()

PrintSandboxMessage will print sandbox success message

func SendRequest added in v0.2.27

func SendRequest(method, url string, option io.Reader) (*http.Response, error)

SendRequest will create request and return the response

func SetupFlyteDir added in v0.2.9

func SetupFlyteDir() error

SetupFlyteDir will create .flyte dir if not exist

func WriteIntoFile

func WriteIntoFile(data []byte, file string) error

WriteIntoFile will write content in a file

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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