From 323dcb282082f1aa6cc66a9100be0fadb077714c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 17 Jun 2026 01:29:47 +0900 Subject: cmd/app: high-level app configuration syntax This replaces the nixos module. Signed-off-by: Ophestra --- hst/container.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hst/container.go') diff --git a/hst/container.go b/hst/container.go index 15a5d221..f985f393 100644 --- a/hst/container.go +++ b/hst/container.go @@ -2,6 +2,7 @@ package hst import ( "encoding/json" + "fmt" "strings" "syscall" "time" @@ -161,6 +162,10 @@ type ContainerConfig struct { Flags Flags `json:"-"` } +func (c *ContainerConfig) GoString() string { + return fmt.Sprintf("&%#v", *c) +} + // ContainerConfigF is [ContainerConfig] stripped of its methods. // // The [ContainerConfig.Flags] field does not survive a [json] round trip. -- cgit v1.3.1