version

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package version exposes the build-time version of the go-datastar example binary (and any consumer binary that links this package and sets it via -ldflags). Library consumers do not need it: module versions come from the Go module system (go list -m).

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is overridden at build time:

go build -ldflags "-X github.com/larsartmann/go-datastar/version.Version=v0.4.0" ./example

The default is "dev" for plain `go build`/`go run`.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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