update

package
v0.101.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const InstallURL = "https://raw.githubusercontent.com/Stack-Cairn/K-brain/main/install.sh"

Variables

This section is empty.

Functions

func Acknowledge

func Acknowledge()

func Check

func Check(current string) string

func InstallerCommand

func InstallerCommand() *exec.Cmd

func Newer

func Newer(current, latest string) bool

func Pending

func Pending(current string) string

Types

type Notice

type Notice struct {
	CheckedAt    time.Time `json:"checkedAt"`
	Latest       string    `json:"latest,omitempty"`
	Acknowledged bool      `json:"acknowledged,omitempty"`
}

Jump to

Keyboard shortcuts

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