Skip to content

Package config: Unmarshal: Add support for field tags. #82

Description

@octo

Similar to encoding/json and other packages, it would be nice to use struct field tags to control the unmarshalling behavior. For example:

  • Write block values (arguments of config blocks) to an arbitrary field (currently hard-coded to Args).
  • Control if and where to store Block.Key (used to look up fields in a struct but not stored in the target).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions