Skip to content

issues Search Results · repo:caarlos0/env language:Go

Filter by

120 results
 (60 ms)

120 results

incaarlos0/env (press backspace or delete to remove)

I couldn t get parsing values to nested structs to work and tried out one of the examples and noticed that it doesn t work either: func ExampleParse_prefix() { type Inner struct { Foo string `env: ...
  • naueramant
  • 5
  • Opened 
    on Feb 12
  • #356

Could you please add the ability to read an environment variable from a file for Docker Swarm Secrets support: https://docs.docker.com/engine/swarm/secrets/#build-support-for-docker-secrets-into-your-images ...
  • edwinludik-tease
  • 2
  • Opened 
    on Jan 14
  • #355

Version: v11.1.0 The default values for attributes within an array of objects are not being applied as expected. Reproduction Steps 1. Define a field with type as an array of struct, setting default ...
  • JivusAyrus
  • 4
  • Opened 
    on Dec 23, 2024
  • #354

It s not that uncommon to pass JSON in environment variables for complex data. For example, If you deploy your stuff in a Kubernetes cluster using Helm and you have some additional logic that build together ...
question
  • roma-glushko
  • 2
  • Opened 
    on Dec 17, 2024
  • #352

We have been using envPrefix on our config struct, which is rather complex. It works great most of the time, but occasionally we need to pull in auto generated config that doesn t follow the structure ...
  • c1moore
  • 1
  • Opened 
    on Dec 16, 2024
  • #351

Hi, as the title describes. It is not possible initialize the map as follow MY_MAP=myurl:https://ingress.eu-west-1.aws.dash0.com:4317 type Config { ExporterHeaders map[string]string `env: TELEMETRY_EXPORTER_HEADERS ...
  • StarpTech
  • 2
  • Opened 
    on Dec 8, 2024
  • #350

Hi! While working on the Debian packaging for this Go program, I noticed that there are no *.asc signatures published at https://github.com/caarlos0/env/releases nor does the git tags in this project ...
  • ottok
  • 3
  • Opened 
    on Nov 28, 2024
  • #345

It looks like there is no way to require env vars to be set and not empty by default? https://go.dev/play/p/fiRtVlFW3if package main import ( fmt github.com/caarlos0/env/v10 ) func main() { ...
  • arvenil
  • 2
  • Opened 
    on Nov 20, 2024
  • #344

A regression was introduced in v7. When we pass a struct with non-nil pointer fields, Parse fails. func TestIssue(t *testing.T) { t.Run( Should parse with bool ptr set and env undefined , func(t *testing.T) ...
  • hypnoglow
  • Opened 
    on Oct 21, 2024
  • #339

The current release tag is v11.2.2. However, when starting a new project (with Go 1.23.2), the installed version is v3.5.0, along with the suffix +incompatible. When I try to add manually the newest version, ...
  • devdrops
  • 1
  • Opened 
    on Oct 7, 2024
  • #337
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub