versions

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const React = "18.0.0"

React version used and tested across bud. Currently not fully baked in.

View Source
const Svelte = "3.47.0"

Svelte version used and tested across bud.

Variables

View Source
var Bud = "latest"

Bud gets changed at link time using ldflags.

View Source
var ErrMinGoVersion = fmt.Errorf("bud requires Go %s or later", minGoVersion)

ErrMinGoVersion error is returned when Bud needs a newer version of Go

Functions

func AlignRuntime added in v0.2.6

func AlignRuntime(ctx context.Context, module *gomod.Module, budVersion string) error

AlignRuntime ensures that the CLI and runtime versions are aligned. If they're not aligned, the CLI will correct the go.mod file to align them.

func CheckGo added in v0.2.6

func CheckGo(currentVersion string) error

CheckGo checks if the current version of Go is greater than the minimum required Go version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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