Mark Sagi-Kazar
406ea27dc0
Add feedback form to the readme
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2020-09-27 01:04:34 +02:00
Mark Sagi-Kazar
e34fb51dd7
Add mentioned in awesome badge
2020-04-09 23:56:02 +02:00
Mark Sagi-Kazar
7eea3718bf
Remove go version badge
2020-04-09 22:21:21 +02:00
Mark Sagi-Kazar
aa8e4d4983
Update badges and logo
2020-04-09 22:20:35 +02:00
Alexey Maslov
b31a49291e
updated docs in README.
2020-02-20 00:36:32 +01:00
Alexey Maslov
502400c0d9
changed github.com/xordataexchange/crypt to github.com/bketelsen/crypt.
2020-02-20 00:36:32 +01:00
Pedro Silva
9cd571279d
Extensionless files only allowed when config type is set ( #827 )
...
* Only consider files without extension if the config type is explicitly specified
* Hides unused variable in test
* First check for config type then for file without extension
2020-01-16 19:23:50 +01:00
Mark Sagi-Kazar
06ab5a4b62
Add documentation about unmarshaling into embedded structs
2020-01-08 10:58:26 +01:00
Mark Sagi-Kazar
4ad4c8df70
Add string replacer interface and env key replacer option
2019-12-06 14:13:46 +01:00
Mark Sagi-Kazar
6fcf985c5a
Fix readme
2019-12-06 14:01:42 +01:00
Mark Sagi-Kazar
a842b8f618
Replace SetKeyDelimiter with functional options
2019-12-06 14:01:42 +01:00
Mark Sagi-Kazar
9a405be5c0
Add SetKeyDelimiter to the README
2019-12-06 14:01:42 +01:00
Mark Sagi-Kazar
b6ced70067
Generic improvements
2019-12-06 14:01:30 +01:00
Mark Sagi-Kazar
52836e66ad
Improve badges
2019-12-06 14:01:30 +01:00
Mark Sagi-Kazar
6895c083d6
INI is supported
2019-12-06 14:01:30 +01:00
Kévin Dunglas
01d7d76eb0
Add Mercure in the list of projects using Viper
2019-11-08 13:18:39 +01:00
Pedro Silva
d1c60d9e69
Support config files with no extensions ( #722 )
...
* Support config files with no extensions
* Update README informing config files without extension are supported
2019-11-06 14:54:13 +01:00
AGirard
b8221cf4ee
Add GetIntSlice helper method
2019-07-13 12:04:36 +02:00
lucperkins
5ae3a072d1
Add documentation for no config file found
...
Signed-off-by: lucperkins <lucperkins@gmail.com>
2019-07-13 11:37:02 +02:00
Márk Sági-Kazár
d34be8d9ee
Improve BindEnv details
2019-07-13 11:35:03 +02:00
Bruce Wang
96441b4b74
BindEnv details specified. Now less confusion.
2019-07-13 11:35:03 +02:00
victor23d
2b4f7d3cde
Add dotenv documentation in README.md
2019-07-13 11:28:35 +02:00
Márk Sági-Kazár
3349bd9cc2
Improve Unmarshal docs ( #713 )
...
Closes #589
Closes #588
2019-06-14 11:17:12 -04:00
okazu-dm
3b4aca7571
Fix example code
...
Unmarshal -> viper.Unmarshal
2019-06-13 10:51:37 +02:00
Alpha
fde59dd3e4
ADD: installation method ( #604 )
...
* ADD: installation method
* Update README.md
2019-06-11 16:58:53 -04:00
Pawan Rawal
0c777cfac1
Fix indentation for yamlStringSettings ( #651 )
...
The indentation seemed messed up and didn't read well. This change fixes it.
2019-06-11 16:53:59 -04:00
EmilLuta
0da4d41b2d
Add WriteConfig documentation ( #649 )
2019-06-11 16:51:04 -04:00
0xflotus
a52795991d
fixed marshal ( #647 )
2019-06-11 16:50:29 -04:00
Leonardo Fedalto
33688bf23c
Fix typo on README.md ( #710 )
2019-06-11 16:48:19 -04:00
Márk Sági-Kazár
b7a3b95476
Lookup environment variables instead of checking if the value is empty
...
This commit adds an `AllowEmptyEnv` option that, default off, that when set will allow set, but empty, environment variables
Fixes #317
2018-11-06 22:53:21 +01:00
Adhatama
8addaed22d
Add README.md for Consul remote provider ( #489 )
2018-08-28 16:05:06 -06:00
Adriano
d493c32b69
Update README.md ( #470 )
...
Fix typo in the environment variable usage documentation.
2018-07-10 13:30:20 +01:00
Brice Fernandes
fb7a06477f
Add example of marshalling to string ( #531 )
2018-07-10 12:30:24 +01:00
Kamil Wargula
8ef37cbca7
Fix incorrect name of function in README.md
...
Change `SetEnvReplacer` to `SetEnvKeyReplacer`
2017-10-20 12:40:09 +02:00
JG²
25b30aa063
Add Clairctl as a Go project that uses Viper
...
See #354
2017-07-22 23:52:07 -06:00
Brad Peabody
04691bc570
Improve documentation for flags
...
See #329
2017-07-22 23:26:21 -06:00
Albert Nigmatzianov
16a9458573
Fix indentation in README.md
...
See #345
2017-07-22 22:54:24 -06:00
Anthony Fok
df7314a14e
Make minor copy-editing changes to README.md
2017-07-21 04:20:10 -06:00
Nick Miyake
a1ecfa6a20
Fix apostrophes in README
...
Fix "it's" -> "its".
2017-06-10 01:09:38 +02:00
Nils Landt
c14ce6d43c
Correct FlagValue interface examples in Readme ( #254 )
...
`IsChanged` is actually named `HasChanged`, and the examples were missing function return declarations, so you couldn't just copy/paste it.
2016-10-12 11:40:13 +02:00
Albert
21ea37b673
Fix space between Go projects and badges
2016-10-09 21:34:00 +02:00
Albert
b61deff907
Add GoDoc badge
2016-10-09 20:33:40 +02:00
Benoît Masson
ec4eb2fa85
Nested maps ( #195 )
...
Fixes #71 , #93 , #158 , #168 , #209 , #141 , #160 , #162 , #190
* Fixed: indentation in comment
* Fixed: Get() returns nil when nested element not found
* Fixed: insensitiviseMaps() made recursive so that nested keys are lowercased
* Fixed: order of expected<=>actual in assert.Equal() statements
* Fixed: find() looks into "overrides" first
* Fixed: TestBindPFlags() to use a new Viper instance
* Fixed: removed extra aliases from display in Debug()
* Added: test for checking precedence of dot-containing keys.
* Fixed: Set() and SetDefault() insert nested values
* Added: tests for overriding nested values
* Changed: AllKeys() includes all keys / AllSettings() includes overridden nested values
* Added: test for shadowed nested key
* Fixed: properties parsing generates nested maps
* Fixed: Get() and IsSet() work correctly on nested values
* Changed: modifier README.md to reflect changes
2016-10-08 10:00:18 +02:00
Albert
16990631d4
Fix typo in README ( #227 )
...
Fixed typo & superfluous white space in README
2016-08-30 16:32:46 +02:00
Bryan Liles
6d2589cd85
Update Readme with doit's new location
...
doit has been moved and renamed to doctl
2016-08-05 09:15:51 +02:00
Steve Francia
dd66c894de
Populate readme with viper based apps
2016-02-08 17:01:43 -05:00
ryanwalls
30ce444d04
Update README with info about supporting Java properties files
2016-01-30 11:44:53 -07:00
David Calavera
c8c6312ace
Add information about flag interfaces to the readme file.
...
Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-24 10:16:42 -05:00
Lei Feng
105e3d0d19
Add Sub() for Viper, which returns a branch of a Viper instance.
2015-12-24 22:44:14 +08:00
patdhlk
79971f1ae7
add HCL support to the README file
2015-12-15 14:44:21 -05:00