internal

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GoModRequire

func GoModRequire(file *modfile.File) (*modfile.Require, bool)

func GoToolVersion

func GoToolVersion(file *modfile.File) (string, bool)

func IsDevelopment

func IsDevelopment() bool

func ReadGoMod

func ReadGoMod() (*modfile.File, error)

func RuntimeVersion

func RuntimeVersion() string

Types

type BuildInfo

type BuildInfo struct {
	BuildDate string
	GitCommit string
	GoArch    string
	GoOs      string
	GoVersion string
}

func ReadBuildInfo

func ReadBuildInfo() BuildInfo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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