Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
neilharris123 committed Aug 14, 2022
1 parent bb64976 commit 33dd505
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package config

import (
"log"
"github.com/kelseyhightower/envconfig"
)

var Metadata struct {
annotation string `envconfig:"annotation"`
label string `envconfig:"label"`
}

func init() {
err := envconfig.Process("", &Metadata)
if err != nil {
log.Fatal(err)
}
}

0 comments on commit 33dd505

Please sign in to comment.