util

package
v0.2.18 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPRequestErrorMessage = "something went wrong. Received status code [%v] while sending a request to [%s]"
)

Variables

This section is empty.

Functions

func GetRequest

func GetRequest(baseURL, url string) ([]byte, error)

func IsVersionGreaterThan added in v0.2.8

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

func ParseGithubTag

func ParseGithubTag(data []byte) (string, error)

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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