Some checks failed
check / check (push) Has been cancelled
Adopts golangci-lint v2.12.2 and the canonical .golangci.yml (default: all), and fixes all resulting findings across the tree. Two intended behavior changes: absent MFFilePath.Mtime is handled explicitly in freshen, list and export rather than dereferenced (main panicked); gpg positional key IDs now follow an explicit -- end-of-options marker. All twelve reworded user-visible error messages restored to byte-identical parity with main and pinned by tests.
24 lines
415 B
Go
24 lines
415 B
Go
// Command mfer generates and verifies file manifests.
|
|
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"sneak.berlin/go/mfer/internal/cli"
|
|
)
|
|
|
|
// Appname is the name of this program.
|
|
const Appname = "mfer"
|
|
|
|
// Version and Gitrev are injected at build time via -ldflags.
|
|
//
|
|
//nolint:gochecknoglobals // set via ldflags at build time
|
|
var (
|
|
Version string
|
|
Gitrev string
|
|
)
|
|
|
|
func main() {
|
|
os.Exit(cli.Run(Appname, Version, Gitrev))
|
|
}
|