rules

package
Version: v0.0.0-...-0161461 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRule

GetRule gets a rule if it exists.

func GetRules

func GetRules() map[string]R

GetRules gets all rules.

func Rule

func Rule(pkg string, versionExtractor c.VersionExtractorFunc, downloadExtractor c.DownloadExtractorFunc)

Rule registers a rule.

Types

type R

R represents a rule for an application.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL