1
0
Fork 0
mirror of https://github.com/Luzifer/rconfig.git synced 2024-12-21 03:31:19 +00:00
Commit graph

10 commits

Author SHA1 Message Date
f4e07b507a
Add support for time.Time flags
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-18 00:19:51 +02:00
f2a0efe97c
Add AutoEnv feature
to automatically derive environment variable names from struct field
names

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-02 12:02:47 +02:00
98c74390c0
Breaking: Ensure an empty default string does not yield a slice with 1 element
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-02 09:18:59 +02:00
fbcc119420
Add ParseAndValidate method
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-06-19 14:23:31 +02:00
02c6b11d62
Support time.Duration config parameters 2016-06-28 12:31:23 +02:00
d8a62bd35f Added Args() function to retrieve positional arguments 2015-12-14 02:04:12 +01:00
d194dded1e Do not enforce canonical import path
fixes #2
2015-09-19 14:21:13 +02:00
da841b2cc9 Ensured precdence with a test, added documentation 2015-09-08 23:11:35 +02:00
7cb1e0ee85 Added VarDefault functionality 2015-09-08 22:07:57 +02:00
0c78105a26 Initial version of rconfig 2015-07-12 12:36:18 +02:00