chore: Refactor Config Collector API (#1558)

This commit is contained in:
Jan-Otto Kröpke
2024-08-11 13:28:39 +02:00
committed by GitHub
parent 7bb16d2f5b
commit dd956c986b
62 changed files with 1186 additions and 791 deletions

View File

@@ -20,3 +20,7 @@ func HasValue(v *string) bool {
func IsEmpty(v *string) bool {
return v == nil || *v == ""
}
func ToPTR[t any](v t) *t {
return &v
}