config icon indicating copy to clipboard operation
config copied to clipboard

Configuration for Go applications

Results 11 config issues
Sort by recently updated
recently updated
newest added

I have a project where I am loading large env variables using the `os.LookupEnv` function. When doing so I see this error: `couldn't expand environment: transform: short destination buffer` The...

YAML requires that strings which contain characters that conflict with YAML syntax elements must be quoted in order to be parsed properly. For example, YAML does not allow unquoted strings...

I'm reading a single config file where I want to override values based on priority. My initial code below worked with 1.1.0, but does not with 1.3.0. I understand that...

base.yaml ``` service: name: abc ``` main.go ``` package main import ( "go.uber.org/config" "fmt" ) func main() { type ServiceConfig struct { Name string } type cfg struct { Name...

We've seen several users be quite confused about the defaults section of environment variable expansion defined [here](https://github.com/uber-go/config/blob/master/expand.go#L43). The behavior around quote characters is inconsistent and this has caused user confusion....

Currently, the error messages from merging are not very helpful: ``` returned a non-nil error: couldn't merge YAML sources: can't merge a scalar into a mapping ``` It'd be nice...

We should check for correctness using `gofmt`, `govet`, and `golint` as part of Travis builds. We already do this in the rest of the Fx-related OSS projects, so we should...

enhancement
help wanted

```golang package main import ( "fmt" "go.uber.org/config" ) func main() { p, err := config.NewYAMLProviderFromBytes([]byte(`foo: yes`)) if err != nil { panic(err) } var foo string if err := p.Get("foo").Populate(&foo);...

bug

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. Release notes Sourced from actions/setup-go's releases. v5.0.0 What's Changed In scope of this release, we change Nodejs runtime from node16 to node20 (actions/setup-go#421). Moreover,...

dependencies

Hello, it would be nice if the error for when there is a missing variable expansion states that it is missing instead of "empty default". Example below. go version -...