- Implemented initialization for the Setting Registry during the Load process. - Added reload functionality to refresh the Setting Registry as needed. - Enhanced error handling to capture and report issues during initialization and reloading.
12 lines
147 B
Go
12 lines
147 B
Go
package setting
|
|
|
|
import (
|
|
_ "embed"
|
|
|
|
"github.com/yaoapp/gou/doc"
|
|
)
|
|
|
|
//go:embed doc.yml
|
|
var docYAML []byte
|
|
|
|
func init() { doc.LoadYAML(docYAML) }
|