File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to the "Go-Web Framework" will be documented in this file.
44
55## [ Unreleased]
66
7+ ## [ v0.6-1-beta] - 2021-08-27
8+ ### Fix
9+ - Resolved command service container issue
10+
711## [ v0.6-0-beta] - 2021-08-25
812### Changed
913- Split command line interfaces and http server.
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ func RegisterBaseEntities(entities BaseEntities) {
6666 mergeCommands (entities .Commands )
6767 mergeServices (entities .Services .List )
6868 mergeSingletonServices (entities .SingletonServices .List )
69+ mergeCommandServices (entities .CommandServices .List )
6970}
7071
7172// Merge services with defaults
@@ -88,3 +89,10 @@ func mergeCommands(commands register.CommandRegister) {
8889 kernel .Commands .List [i ] = c
8990 }
9091}
92+
93+ // MergeCommands will merge system command with customs
94+ func mergeCommandServices (services []interface {}) {
95+ for _ , s := range services {
96+ kernel .CommandServices .List = append (kernel .CommandServices .List , s )
97+ }
98+ }
You can’t perform that action at this time.
0 commit comments