utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exit

func Exit(code int, message string, aMode bool)

func GetLatestVersion added in v1.0.0

func GetLatestVersion() (string, error)

func GetLibrary

func GetLibrary(version string) (string, string, error)

func GetUrl

func GetUrl(version string) string

Types

type Component

type Component struct {
	Name   string
	Parent string
	Code   []string
}

type GitHubApiRef

type GitHubApiRef struct {
	Ref    string            `json:"ref"`
	NodeId string            `json:"node_id"`
	Url    string            `json:"url"`
	Object map[string]string `json:"object"`
}
type MenuEntry struct {
	Id        string         `yaml:"Id"`
	Name      string         `yaml:"Name"`
	Submenues []SubmenuEntry `yaml:"Submenues"`
}
type SubmenuEntry struct {
	Id       string `yaml:"Id"`
	Name     string `yaml:"Name"`
	Function string `yaml:"Function"`
}

Jump to

Keyboard shortcuts

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