utils

package
v0.0.0-...-2aeb9cd Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// AppRootPath Application Root Path
	AppRootPath = filepath.Join(filepath.Dir(b), "../")
)

Functions

func CompareOldReleaseDataWithNewReleaseData

func CompareOldReleaseDataWithNewReleaseData(oldReleaseArr []types.Release, newReleaseArr []types.Release) []types.Release

CompareOldReleaseDataWithNewReleaseData Compares Old Release Data From the File and New Release Data From the Web Page

func IsNewReleaseAvailable

func IsNewReleaseAvailable(newReleasesNotExistsInOldReleases []types.Release) bool

IsNewReleaseAvailable Returns true if New Releases are available

func LoadEnvironmentVariables

func LoadEnvironmentVariables()

LoadEnvironmentVariables Loads Environment Variables

func ParsePageContent

func ParsePageContent(response *http.Response) []types.Release

ParsePageContent Parses Page Content

Types

This section is empty.

Jump to

Keyboard shortcuts

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