utils

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package utils contains a number generic of methods that are used throughout the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForUpdate

func CheckForUpdate(currentVersion string) bool

func IsValidSemanticVersion

func IsValidSemanticVersion(version string) bool

func SliceContainsString

func SliceContainsString(s []string, str string) bool

func VersionIsGreaterThan

func VersionIsGreaterThan(currentVersion, nextVersion string) bool

Types

type Release

type Release struct {
	Version string `json:"tag_name"`
}

Jump to

Keyboard shortcuts

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