Skip to content

What is the priority of loading values? #78

Open

Description

@sharonjl

In which order does the lib load values? Does the config file override command line flag?

Activity

  1. markx commented on Jan 29, 2019

    @markx

    I believe it depends on what loader you use.
    For the default loader: https://github.com/koding/multiconfig/blob/master/multiconfig.go#L23-L24

    If you don't like this default order, you can construct your own loader with whatever order you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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