models

package
v0.0.0-...-e649451 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "Preview Beta 1"

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubVersionData

type GitHubVersionData struct {
	TUI struct {
		Version string `json:"version"`
	} `json:"tui"`
	Linux struct {
		Version string `json:"version"`
	} `json:"linux"`
	Windows struct {
		Version string `json:"version"`
	} `json:"windows"`
	Android struct {
		Version string `json:"version"`
	} `json:"android"`
}

GitHubVersionData represents the version.json structure from GitHub

type VersionInfo

type VersionInfo struct {
	Version string `json:"version"`
	OS      string `json:"-"` // Hidden from JSON, used for backend logic
	OSName  string `json:"os_name"`
}

VersionInfo holds version and OS information

func GetVersion

func GetVersion() VersionInfo

GetVersion returns version and OS information

Directories

Path Synopsis
iam

Jump to

Keyboard shortcuts

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