Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ory/viper
A maintained fork of spf13/viper with several bugfixes for races, panics, and other errors
https://github.com/ory/viper
d34be8d9ee3308fecdadaecf8139cabeaa4a64a3 authored over 5 years ago by Márk Sági-Kazár <[email protected]>
96441b4b7414b184eb59823c0e6ca5494e4706d8 authored over 5 years ago by Bruce Wang <[email protected]>
2b4f7d3cde7da656a0fbb4ac4c6bbf7f033a51f9 authored over 5 years ago by victor23d <[email protected]>
Closes #589
Closes #588
Unmarshal -> viper.Unmarshal
3b4aca75714a37276c4b1883630bd98c02498b73 authored over 5 years ago by okazu-dm <[email protected]>b235f72abbc7afb0758c719052787e5c619b6bba authored over 5 years ago by liubog2008 <[email protected]>
* ADD: installation method
* Update README.md
fde59dd3e479c31f3015792ffec5a0ea2366d92c authored over 5 years ago by Alpha <[email protected]>The indentation seemed messed up and didn't read well. This change fixes it.
0c777cfac1762bd58551498086741daa8157e204 authored over 5 years ago by Pawan Rawal <[email protected]>* Add support for int slice flags
* Add int slice test to unmarshal
ad5ed02fa46d33a367ae1e563a3579f1a42e867e authored over 5 years ago by Márk Sági-Kazár <[email protected]>0da4d41b2df3ce3c443cf65b49ca7abc68c1cfbc authored over 5 years ago by EmilLuta <[email protected]>
a52795991d57899f91c64d254ff3985cfccd1faf authored over 5 years ago by 0xflotus <[email protected]>
33688bf23ceb2b51f5b5e0bae8ebc4e0ff9df9e9 authored over 5 years ago by Leonardo Fedalto <[email protected]>
* Support `.env` format files
* Missing "dotenv" from SupportedExtns
3620d3d9e17742adf7d8e5503abbe515533a9786 authored over 5 years ago by mexisme <[email protected]>
This commit was created by manually removing github.com/ugorji/go/codec from
the go.mod (which ...
to prevent overflow error on 32-bit platforms.
Fixes #704
2bd2732789208f67c9c82f5097ff3410fb0543e2 authored over 5 years ago by Anthony Fok <[email protected]>93066f92c615ab6c90523b3d4fe34379d2dea818 authored over 5 years ago by Anthony Fok <[email protected]>
* add GetUint/GetUint32/GetUint64
* Add Get(string) support for uint.
7a605a50e69cd1ea431c4a1e6eebe9b287ef6de4 authored over 5 years ago by Mitch Connors <[email protected]>fccfc2c271a59647debe6c5802362469a3700f0a authored over 5 years ago by Kris <[email protected]>
Fixes #482
9e56dacc08fbbf8c9ee2dbc717553c758ce42bc9 authored almost 6 years ago by Bjørn Erik Pedersen <[email protected]>
In Go 1.11.4 a bug was fixed related to checksum calculation.
As a result, some packages might e...
6d33b5a963d922d182c91e8a1c88d81fd150cfd4 authored about 6 years ago by Bjørn Erik Pedersen <[email protected]>
41cd1c3aa32b2685fae6c296e6f044bc68922c0e authored about 6 years ago by Bjørn Erik Pedersen <[email protected]>
Fixes #605
3535c75fa87d780db2436955c5d105de3e68f125 authored about 6 years ago by Bjørn Erik Pedersen <[email protected]>06c7c0d9b3c7cfca13deff6e353a052e08828ad4 authored about 6 years ago by Bjørn Erik Pedersen <[email protected]>
Replaced Visit() by VisitAll(), so that the Changed attribute of
the updated flag is correctly set.
Common code and resources put out of the loops, to improve
efficiency and readability.
When pflag marked as changed, the value is not detected
(and lower priority value used)
This commit adds an `AllowEmptyEnv` option that, default off, that when set will allow set, but ...
b7a3b954760cf2c8e97dbcf7f842e721b8d24110 authored about 6 years ago by Márk Sági-Kazár <[email protected]>This reverts commit b56071875ac96633371c07c0ff77c0ba69f7fd82.
62edee319679b6ceaec16de03b966102d2dea709 authored about 6 years ago by Andrew Stuart <[email protected]>Switching jww from jwalterweatherman to jWalterWeatherman for cases when vgo is broken
b56071875ac96633371c07c0ff77c0ba69f7fd82 authored about 6 years ago by Panagiotis Moustafellos <[email protected]>8e194e8ad2432506b0a6dac93dd7876fca7a94a5 authored about 6 years ago by Andrew Stuart <[email protected]>
0d783e7344b1c5a1dee7c838c22b4fd9523bf7b4 authored about 6 years ago by Andrew Stuart <[email protected]>
2c12c60302a5a0e62ee102ca9bc996277c2f64f5 authored about 6 years ago by Andrew Stuart <[email protected]>
This reverts commit 841bd4ebcd794977d3df5c7e868861366415455b.
3171ef9a229903ce60a9513ec3899b63c003e91c authored over 6 years ago by Bjørn Erik Pedersen <[email protected]>Seems that it's better practice to keep that in Git for "main modules".
841bd4ebcd794977d3df5c7e868861366415455b authored over 6 years ago by Bjørn Erik Pedersen <[email protected]>8fb642006536c8d3760c99d4fa2389f5e2205631 authored over 6 years ago by Bjørn Erik Pedersen <[email protected]>
* Handle int64 separately for 32 bit architectures
* Remove tests which result in an overflow...
0ac2068de99fd349edc4954d0e9b4a600d75da44 authored over 6 years ago by Dr. Tobias Quathamer <[email protected]>8addaed22d65eb9b54dc9e9a28537f5b8b9ca756 authored over 6 years ago by Adhatama <[email protected]>
This reverts commit b7a62b2c001b4ad829bff1775d83509d19d89a68.
05116ad639474f7858b82b48004bfbdb4c51e367 authored over 6 years ago by Aarti Parikh <[email protected]>b7a62b2c001b4ad829bff1775d83509d19d89a68 authored over 6 years ago by kun <[email protected]>
correct regiser with register
e436d04e6d88ca621a687f97fbe6dbbf1195bf04 authored over 6 years ago by Robin Brämer <[email protected]>40b1bbb9a8eaf94fd560b34dde04fa267a3c5871 authored over 6 years ago by Michael <[email protected]>
Signed-off-by: Xavier Coulon <[email protected]>
41f829b2c9ecf78bcc45a9c18cd9afe1051d86a5 authored over 6 years ago by Xavier Coulon <[email protected]>e12d3d32d176d9a4a48038b22e294bb5a6fb9050 authored over 6 years ago by Xavier Coulon <[email protected]>
* Added a new `DecoderConfigOption` type allowing the user to write custom
functions that can ...
use masks for checking the events.
Signed-off-by: Xavier Coulon <[email protected]>
c1250e5dd7e8b4e2911c6c6aa5b83be016bd2a3c authored over 6 years ago by Xavier Coulon <[email protected]>Fix typo in the environment variable usage documentation.
d493c32b69b8c6f2377bf30bc4d70267ffbc0793 authored over 6 years ago by Adriano <[email protected]>fb7a06477f21a08e24c82d4bddc131d56fdef129 authored over 6 years ago by Brice Fernandes <[email protected]>
Signed-off-by: Xavier Coulon <[email protected]>
242f4890f5f6239217fa5c45bb6de3b4b5509d3b authored over 6 years ago by Xavier Coulon <[email protected]>15738813a09db5c8e5b60a19d67d3f9bd38da3a4 authored over 6 years ago by Travis Jeffery <[email protected]>
8dc2790b029dc41e2b8ff772c63c26adbb1db70d authored over 6 years ago by Michael Käufl <[email protected]>
It was exported in previous commit, but we have GetConfigFileUsed -- so use that.
b5e8006cbee93ec955a89ab31e0e3ce3204f3736 authored almost 7 years ago by Bjørn Erik Pedersen <[email protected]>00ed41cdba2612ddf07559b1cae78ca23d213ba6 authored almost 7 years ago by Bjørn Erik Pedersen <[email protected]>
Support override of symlink to config file
Include tests for WatchConfig of regular files, as we...
aafc9e6bc7b7bb53ddaa75a5ef49a17d6e654be5 authored almost 7 years ago by Davor Kapsa <[email protected]>
* Added method to write into TOML file.
* Added functionality to export configuration based o...
1a0c4a370c3e8286b835467d2dfcdaf636c3538b authored about 7 years ago by Adam Sherwood <[email protected]>Signed-off-by: Jeff Lindsay <[email protected]>
4dddf7c62e16bce5807744018f5b753bfe21bbd2 authored about 7 years ago by Jeff Lindsay <[email protected]>Change `SetEnvReplacer` to `SetEnvKeyReplacer`
8ef37cbca71638bf32f3d5e194117d4cb46da163 authored about 7 years ago by Kamil Wargula <[email protected]>d9cca5ef33035202efb1586825bdbb15ff9ec3ba authored about 7 years ago by Bjørn Erik Pedersen <[email protected]>
This way it correctly decodes string slices as well.
266e588e9eca7ee317e9f0446a01934675a4d261 authored about 7 years ago by Alexander Krasnukhin <[email protected]>See #354
25b30aa063fc18e48662b86996252eabdcf2f0c7 authored over 7 years ago by JG² <[email protected]>Also:
* Add check to .travis.yml that verifies that all code is gofmt-compliant
* Touch up s...
See #350
f257d19100ad11ec71a89d431c0fbd3933c0b235 authored over 7 years ago by Nick Miyake <[email protected]>See #329
04691bc570c10b492d8bf7b66aae05e0c9ecb0db authored over 7 years ago by Brad Peabody <[email protected]>See #310
9766537120e76571a9a2dcafe4b25a3201dcac22 authored over 7 years ago by Nikola Kovacs <[email protected]>See #345
16a945857303e8ea14318664816932b07a0ed5ce authored over 7 years ago by Albert Nigmatzianov <[email protected]>df7314a14e26fea5443bb6e696b207d14d9a266d authored over 7 years ago by Anthony Fok <[email protected]>
There is no need to assert variables which already have appropriate
type.
name old...
c1de95864d73a5465492829d7cb2dd422b19ac96 authored over 7 years ago by Albert Nigmatzianov <[email protected]>Fix "it's" -> "its".
a1ecfa6a20bd4ef9e9caded262ee1b1b26847675 authored over 7 years ago by Nick Miyake <[email protected]>0967fc9aceab2ce9da34061253ac10fb99bba5b2 authored over 7 years ago by Paweł Szczur <[email protected]>
* Failing test for key unmarshaling with nested structs containing time.Duration
* Fix Unmars...
5d46e70da8c0b6f812e0b170b7a985753b5c63cb authored over 7 years ago by Miguel Eduardo Gil Biraud <[email protected]>84f94806c67f59dd7ae87bc5351f7a9c94a4558d authored almost 8 years ago by Wolfgang Friedl <[email protected]>
This reverts commit 11ca61e88892f9cb3cff255826cb7ace534d340d.
0b5690fd875739811249ca79d24afd8f89f188c6 authored almost 8 years ago by Bjørn Erik Pedersen <[email protected]>11ca61e88892f9cb3cff255826cb7ace534d340d authored almost 8 years ago by Wolfgang Friedl <[email protected]>
7538d73b4eb9511d85a9f1dfef202eeb8ac260f4 authored almost 8 years ago by Bjørn Erik Pedersen <[email protected]>
If the user creates a invalid config file while watching for config
changes, the previous, valid...
UnsupportedConfigError was returned if config file not found
* Swap getConfigFile and getConf...
5ed0fc31f7f453625df314d8e66b9791e8d13003 authored about 8 years ago by Kevin GEORGES <[email protected]>651d9d916abc3c3d6a91a12549495caba5edffd2 authored about 8 years ago by Albert Nigmatzianov <[email protected]>
Fixes #261
Closes #265
* Fixed: values bound with BindEnv added to AllKeys()
Cast was not working, and v.env wasn't ...
285f1510193473600929e1183915f6220fabab94 authored about 8 years ago by Benoît Masson <[email protected]>* Fixed: insensitiviseMaps and tests
All keys (even nested ones) are now lower-cased recursiv...
50515b700e02658272117a72bd641b6b7f1222e5 authored about 8 years ago by Benoît Masson <[email protected]>- propagate ConfigFileNotFoundError instead of using unsupported config type error when config f...
44208030b391907a5ec5c5658470bdb6e6169073 authored about 8 years ago by Jonathan Anderson <[email protected]>`IsChanged` is actually named `HasChanged`, and the examples were missing function return declar...
c14ce6d43cf5e22e2bd44938f3f45a2761c18350 authored about 8 years ago by Nils Landt <[email protected]>
```
BenchmarkGetBool-4 1021 481 -52.89%
BenchmarkGet-4 ...
54b81535af6c3bceed4672011ef221de7104bbd6 authored about 8 years ago by Bjørn Erik Pedersen <[email protected]>
21ea37b67349cb6594eea6eaf765b2a7b96f03e2 authored about 8 years ago by Albert <[email protected]>
b61deff9070db474aa7668f55bf6eec00008409e authored about 8 years ago by Albert <[email protected]>
Fixes #71, #93, #158, #168, #209, #141, #160, #162, #190
* Fixed: indentation in comment
* F...
Fixes #191
670c42a85b2a2215949acd943cb8f11add317e3f authored about 8 years ago by Cameron Moore <[email protected]>Also avoid doing a strings.Split in the Get common case.
Any TRACE statements in these hot pa...
382f87b929b84ce13e9c8a375a4b217f224e6c65 authored about 8 years ago by Bjørn Erik Pedersen <[email protected]>
```
BenchmarkGetBool-4 100000 12952 ns/op 225 B/op 10 al...
* Fixes #105
e26d6aedc15334f7c2bca88e37037f717659d9b8 authored about 8 years ago by Yauhen Lazurkin <[email protected]>
Fixes #112
Changes some logging directives to use Printf
* Fix typo in description of UnmarshalExact
* Omit 2nd values from range loops
* Delete findCW...
2f6a41490bc86fa9a8fb2fc03526a5795e904a17 authored over 8 years ago by Max Wolter <[email protected]>
Fixed typo & superfluous white space in README
16990631d4aa7e38f73dbbbf37fa13e67c648531 authored over 8 years ago by Albert <[email protected]>
This patch updates the package used for parsing TOML content from
"github.com/BurntSushi/toml" t...
Since Hugo is such a heavy user of Viper, this patch adds an
after_success section to the Travi...
654fc7bb54d0c138ef80405ff577391f79c0c32d authored over 8 years ago by Bjørn Erik Pedersen <[email protected]>
346299ea79e446ebdddb834371ceba2e5926b732 authored over 8 years ago by Bjørn Erik Pedersen <[email protected]>