- App-scoped typed Publish/Lookup with duplicate-provider errors - Set plugin IDs before Register so HasPlugin sees the full set - Greeter uses pact.OptionalMessage without importing optional
38 lines
1.4 KiB
Modula-2
38 lines
1.4 KiB
Modula-2
module git.golem15.com/golem15/summercms/examples/hello
|
|
|
|
go 1.27.0
|
|
|
|
toolchain go1.27.0
|
|
|
|
require (
|
|
git.golem15.com/golem15/summercms v0.0.0
|
|
git.golem15.com/golem15/summercms/examples/hello/plugins/base v0.0.0
|
|
git.golem15.com/golem15/summercms/examples/hello/plugins/greeter v0.0.0
|
|
git.golem15.com/golem15/summercms/examples/hello/plugins/optional v0.0.0
|
|
)
|
|
|
|
require (
|
|
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
|
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/knadh/koanf/maps v0.1.2 // indirect
|
|
github.com/knadh/koanf/parsers/yaml v1.1.1 // indirect
|
|
github.com/knadh/koanf/providers/confmap v1.0.1 // indirect
|
|
github.com/knadh/koanf/providers/env/v2 v2.0.1 // indirect
|
|
github.com/knadh/koanf/providers/file v1.2.1 // indirect
|
|
github.com/knadh/koanf/v2 v2.3.6 // indirect
|
|
github.com/mitchellh/copystructure v1.2.0 // indirect
|
|
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
|
github.com/spf13/cobra v1.10.2 // indirect
|
|
github.com/spf13/pflag v1.0.9 // indirect
|
|
go.yaml.in/yaml/v3 v3.0.4 // indirect
|
|
golang.org/x/sys v0.32.0 // indirect
|
|
)
|
|
|
|
replace (
|
|
git.golem15.com/golem15/summercms => ../..
|
|
git.golem15.com/golem15/summercms/examples/hello/plugins/base => ./plugins/base
|
|
git.golem15.com/golem15/summercms/examples/hello/plugins/greeter => ./plugins/greeter
|
|
git.golem15.com/golem15/summercms/examples/hello/plugins/optional => ./plugins/optional
|
|
)
|