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
  • master
  • v1.0.0
  • v1.0.1
  • v1.1.0
  • v1.10.0
  • v1.11.0
  • v1.11.1
  • v1.11.2
  • v1.11.3
  • v1.11.4
  • v1.12.0
  • v1.13.0
  • v1.14.0
  • v1.15.0
  • v1.16.0
  • v1.17.1
  • v1.17.2
  • v1.17.3
  • v1.17.4
  • v1.17.5
  • v1.17.6
  • v1.17.7
  • v1.18.0
  • v1.18.1
  • v1.18.2
  • v1.18.3
  • v1.19.0
  • v1.2.0
  • v1.20.0
  • v1.20.1
  • v1.20.2
  • v1.20.3
  • v1.20.4
  • v1.20.5
  • v1.21.0
  • v1.22.0
  • v1.22.1
  • v1.22.3
  • v1.22.4
  • v1.22.5
  • v1.22.6
  • v1.22.7
  • v1.22.8
  • v1.22.9
  • v1.3.0
  • v1.4.0
  • v1.4.1
  • v1.4.2
  • v1.4.3
  • v1.5.0
  • v1.6.0
  • v1.7.0
  • v1.7.1
  • v1.8.0
  • v1.9.0
55 results

Target

Select target project
  • oss/libraries/go/application/configuration
1 result
Select Git revision
  • master
  • v1.0.0
  • v1.0.1
  • v1.1.0
  • v1.10.0
  • v1.11.0
  • v1.11.1
  • v1.11.2
  • v1.11.3
  • v1.11.4
  • v1.12.0
  • v1.13.0
  • v1.14.0
  • v1.15.0
  • v1.16.0
  • v1.17.1
  • v1.17.2
  • v1.17.3
  • v1.17.4
  • v1.17.5
  • v1.17.6
  • v1.17.7
  • v1.18.0
  • v1.18.1
  • v1.18.2
  • v1.18.3
  • v1.19.0
  • v1.2.0
  • v1.20.0
  • v1.20.1
  • v1.20.2
  • v1.20.3
  • v1.20.4
  • v1.20.5
  • v1.21.0
  • v1.22.0
  • v1.22.1
  • v1.22.3
  • v1.22.4
  • v1.22.5
  • v1.22.6
  • v1.22.7
  • v1.22.8
  • v1.22.9
  • v1.3.0
  • v1.4.0
  • v1.4.1
  • v1.4.2
  • v1.4.3
  • v1.5.0
  • v1.6.0
  • v1.7.0
  • v1.7.1
  • v1.8.0
  • v1.9.0
55 results
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> <a name="v1.4.3"></a>
## [v1.4.3] - 2022-10-07 ## [v1.4.3] - 2022-10-07
### Changes ### Changes
...@@ -54,6 +60,7 @@ ...@@ -54,6 +60,7 @@
<a name="v1.0.0"></a> <a name="v1.0.0"></a>
## v1.0.0 - 2022-09-18 ## 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.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.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 [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] { ...@@ -74,3 +74,8 @@ func (s *Settings[C]) setConfigInternal(config C, lock bool) *Settings[C] {
func (s *Settings[C]) SetConfig(config C) *Settings[C] { func (s *Settings[C]) SetConfig(config C) *Settings[C] {
return s.setConfigInternal(config, true) 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 { ...@@ -18,6 +18,7 @@ type fileWatch struct {
onWatch bool onWatch bool
} }
// Settings is the main struct for the configuration
type Settings[C any] struct { type Settings[C any] struct {
files fileBackend files fileBackend
stream streamBackend stream streamBackend
......