// Package main is the entry point for the pixad image proxy server. pixad // also runs as a child process of itself, to read the size of an SVG source // or to render it (see imageprocessor.RunAsSVGChildProcess). package main import ( "os" "sneak.berlin/go/pixa/internal/app" "sneak.berlin/go/pixa/internal/imageprocessor" ) var Version string //nolint:gochecknoglobals // set by ldflags func main() { if imageprocessor.IsSVGChildProcess(os.Args[1:]) { os.Exit(imageprocessor.RunAsSVGChildProcess(os.Args[1:])) } app.Run(Version) }