Skip to content

Feature Request: Switch to using sayanarijit/expandvars for as_str_expanded() #157

@ravensorb

Description

@ravensorb

Was curious if there was any interest in switching over to using https://github.com/sayanarijit/expandvars as it provides support for standard unix/go env variable expansion (can be helpful in setting default values).

Example of a config file with this syntax:

database:
   server: ${DATABASE_SERVER:-localhost}
   port: ${DATABASE_PORT:-5432}
   user: ${DATABASE_USERNAME:-app}
   passsword: ${DATABASE_PASSWORD}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions