chore(convention): Respect Go convention, package name should be lowercase

This commit is contained in:
2025-07-06 14:34:16 +02:00
parent 1a5c95d240
commit 9e4663cc6e
22 changed files with 53 additions and 53 deletions

View File

@@ -0,0 +1,13 @@
package labelstructs
import "gopkg.in/yaml.v3"
type Secrets []string
func SecretsFrom(data string) (Secrets, error) {
var mapping Secrets
if err := yaml.Unmarshal([]byte(data), &mapping); err != nil {
return nil, err
}
return mapping, nil
}