Help us shape the future of Go! Take the 2026 Go Developer Survey

app

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 60 Imported by: 0

Documentation

Overview

Package app is the hatamoto entry point: `serve` and the operator commands. cmd/hatamoto calls Main.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version string
	Commit  string
)

Version and Commit are set at build time:

-ldflags "-X hatamoto.dev/core/app.Version=v1.0.0 -X hatamoto.dev/core/app.Commit=abc1234"

When unset they fall back to the module version and VCS revision that `go build` stamps into the binary.

Functions

func Main

func Main()

Main runs hatamoto's server or one of its subcommands and exits on failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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