configy.Attributes

Define UDAs that can be applied to a configuration struct

This module is stand alone (a leaf module) to allow importing the UDAs without importing the whole configuration parsing code.

Members

Functions

StartsWith
Name StartsWith(string name)

Short hand syntax

converter
auto converter(FT func)

Provides a means to convert a field from a Node to a complex type

Interfaces

ConfigParser
interface ConfigParser(T)
Undocumented in source.

Structs

Converter
struct Converter(T)

Provides a means to convert a field from a Node to a complex type

Key
struct Key

Inform the config filler that this sequence is to be read as a mapping

Name
struct Name

Look up the provided name in the YAML node, instead of the field name.

Optional
struct Optional

An optional parameter with an initial value of T.init

SetInfo
struct SetInfo(T)

A field which carries informations about whether it was set or not

Meta

License

MIT License. See LICENSE for details.