Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision

Target

Select target project
  • oss/libraries/go/application/configuration
1 result
Select Git revision
Show changes
Commits on Source (3)
<a name="v1.5.0"></a>
## [v1.5.0] - 2022-10-14
### Add Features
- feat implement the copyable interface
<a name="v1.4.3"></a>
## [v1.4.3] - 2022-10-07
### Changes
......@@ -54,6 +60,7 @@
<a name="v1.0.0"></a>
## v1.0.0 - 2022-09-18
[v1.5.0]: https://gitlab.schukai.com/oss/libraries/go/application/configuration/compare/v1.4.3...v1.5.0
[v1.4.3]: https://gitlab.schukai.com/oss/libraries/go/application/configuration/compare/v1.4.2...v1.4.3
[v1.4.2]: https://gitlab.schukai.com/oss/libraries/go/application/configuration/compare/v1.4.1...v1.4.2
[v1.4.1]: https://gitlab.schukai.com/oss/libraries/go/application/configuration/compare/v1.4.0...v1.4.1
......
......@@ -74,3 +74,8 @@ func (s *Settings[C]) setConfigInternal(config C, lock bool) *Settings[C] {
func (s *Settings[C]) SetConfig(config C) *Settings[C] {
return s.setConfigInternal(config, true)
}
// Copy implements the xflags.Copyable interface.
func (s *Settings[C]) Copy(config C) {
s.setConfigInternal(config, true)
}
{"version":"1.4.3"}
{"version":"1.5.0"}
......@@ -18,6 +18,7 @@ type fileWatch struct {
onWatch bool
}
// Settings is the main struct for the configuration
type Settings[C any] struct {
files fileBackend
stream streamBackend
......