improve shutdown and app service boilerplate
All checks were successful
Build and Publish / check-chart (push) Successful in 14s
Build and Publish / helm-release (push) Has been skipped
Build and Publish / release (push) Successful in 4m30s

This commit is contained in:
2025-07-20 18:16:12 -04:00
parent 378df897b2
commit c1c296a0c0
11 changed files with 185 additions and 98 deletions

View File

@ -1,13 +1,14 @@
// This serves as a reference sample configuration
// to show how to merge custom config fields into
// go-app configuration
// Package config contains ServiceConfig, which is intended
// to extend go-app/pkg/config.AppConfig. Add any custom fields
// here, and it will automatically be handled by go-app, including
// overrides by environment, and json schema generation
package config
import (
"gitea.libretechconsulting.com/rmcguire/go-app/pkg/config"
)
type DemoConfig struct {
type ServiceConfig struct {
Timezone string `yaml:"timezone" json:"timezone,omitempty" default:"UTC"`
Opts *DemoOpts `yaml:"opts" json:"opts,omitempty"`