Commit graph

  • 8c1b961279 Issue-105 Add support of time.Duration in v.UnmarshalExact Yauhen Lazurkin 2016-09-23 23:32:50 +03:00
  • ed0a9674c6 Fix retrieval of pflag stringSlice (#240) Cameron Moore 2016-09-22 13:19:24 -05:00
  • 8e2e50bc37 Merge e2a9ac4231 into a78f70b5b9 Jimmi Dyson 2016-09-22 16:09:31 +00:00
  • 057d1e0474 Fix retrieval of pflag stringSlice Cameron Moore 2016-09-22 10:48:45 -05:00
  • ece4467227 Merge 8b2b4b8675 into a78f70b5b9 Joe Buck 2016-09-21 22:42:45 +00:00
  • 2990deb101 Merge b86edb5103 into a78f70b5b9 Matt Rickard 2016-09-20 08:23:40 +00:00
  • a78f70b5b9 Small refactorings (#230) Albert 2016-09-20 10:17:41 +02:00
  • 2f6a41490b Prevent shadowning of keys when a nested key's value is nil. Max Wolter 2016-09-19 19:37:56 +02:00
  • cad64b8deb Merge f9a0422e88 into 16990631d4 Lucas Vieira Miguel 2016-09-01 02:35:13 +00:00
  • f9a0422e88 Add tenant feature lucas 2016-08-31 23:25:51 -03:00
  • 38bbed8820 Fix err variable in BindFlagValues bogem 2016-08-30 21:39:52 +05:00
  • 2e08d75548 Use RemoteProvider interface instead of defaultRemoteProvider bogem 2016-08-30 21:39:32 +05:00
  • 7ae890a1c6 Fix documentation in util bogem 2016-08-30 21:38:16 +05:00
  • 52447662c7 Edit documentation according to golint bogem 2016-08-30 21:26:49 +05:00
  • bc2725c3f7 Merge 0931e9e810 into 16990631d4 laszlo-kiss 2016-08-30 16:03:15 +00:00
  • d120ea2ddb Delete findCWD method from util It was unused bogem 2016-08-30 19:33:05 +05:00
  • 16c648932f Merge e5c9be9d7c into 16990631d4 roger_sole 2016-08-30 14:32:49 +00:00
  • 16990631d4 Fix typo in README (#227) Albert 2016-08-30 19:32:46 +05:00
  • e5c9be9d7c Update README.md roger_sole 2016-08-29 10:45:52 +02:00
  • 306b1ad551 Merge f9e7a97f3c into 7fb2782df3 Schley Andrew Kutz 2016-08-25 18:21:04 +00:00
  • 29e81a0c5f Added some tests Roger Solé 2016-08-25 15:31:48 +02:00
  • d616c5344a Updated .gitignore Roger Solé 2016-08-25 15:13:02 +02:00
  • 9e1fd87b91 Merge 09ed8f49d2 into 7fb2782df3 roger_sole 2016-08-25 13:10:26 +00:00
  • 09ed8f49d2 Added default parameter on getters to return it in case it doesn't exist Roger Solé 2016-08-25 15:09:30 +02:00
  • 7fb2782df3 Handle TOML Library Licensing Vladimir Vivien 2016-08-12 14:14:35 -04:00
  • fe9c8b59e1 Add Hugo CI Step to Validate Viper Schley Andrew Kutz 2016-08-20 08:03:44 -05:00
  • 6953393ddd Omit 2nd values from range loops bogem 2016-08-20 10:40:34 +05:00
  • 3386e59410 Fix typo in description of UnmarshalExact bogem 2016-08-20 10:34:48 +05:00
  • 234dfee791 Add Hugo CI Step to Validate Viper akutz 2016-08-16 10:05:52 -05:00
  • 654fc7bb54 Bump Travis to Go 1.7 Bjørn Erik Pedersen 2016-08-16 10:09:34 +02:00
  • 393cd591dc Handle TOML Library Licensing Vladimir Vivien 2016-08-12 14:14:35 -04:00
  • f598547a98 Fix typo in README bogem 2016-08-14 11:08:04 +05:00
  • ed3e8623b5 Fix markdown link in README Konrad Kleine 2016-08-11 09:05:27 +02:00
  • 835f7826d0 README markdown typo Matt Rickard 2016-08-08 13:22:59 -07:00
  • b86edb5103 Added test for UnsupportedConfigFile Matt Rickard 2016-08-08 12:20:52 -07:00
  • a17eb5155c Throw ConfigFileNotFound err instead of UnsupportedConfigError Matt Rickard 2016-08-08 11:35:05 -07:00
  • f6077e77c2 Fix README entry Valentin Pichard 2016-08-08 10:00:16 +00:00
  • 346299ea79 Add getter for global Viper Bjørn Erik Pedersen 2016-08-06 18:06:49 +02:00
  • 5137f527d6 Merge 9988dd7738 into abafbf243b Chao Xu 2016-08-05 09:24:47 +00:00
  • abafbf243b Revert "Handle TOML Library Licensing" Bjørn Erik Pedersen 2016-08-05 11:20:27 +02:00
  • a59dcccc82 Move the Afero fs to the Viper type Bjørn Erik Pedersen 2016-08-05 09:45:58 +02:00
  • d0c2644870 Add dot in BindPFlag comment Albert 2016-08-05 12:25:24 +05:00
  • 4cf0bd2789 Add support for Afero filesystems Matthieu Grieger 2016-08-05 00:24:49 -07:00
  • 5619c0edbe Reset cache on config name change Roland Schilter 2016-08-05 09:18:19 +02:00
  • 64dc6f6810 Add GetInt64 Chuanjian Wang 2016-08-05 15:16:55 +08:00
  • 6d2589cd85 Update Readme with doit's new location Bryan Liles 2016-08-05 03:15:51 -04:00
  • 7402856f06 Handle TOML Library Licensing Schley Andrew Kutz 2016-08-05 02:15:24 -05:00
  • 67718cac6f TOML Library Licensing akutz 2016-08-02 13:55:19 -05:00
  • fa88aecca5 replace SetEnvReplacer by SetEnvKeyReplacer rougepied 2016-07-27 16:56:48 +02:00
  • 28aeab98f9 Update Readme with doit's new location Bryan Liles 2016-07-22 09:16:39 -04:00
  • a2d206d19f Merge 03d0bb47ee into b53595fb56 Alex Bice 2016-07-19 10:18:17 +00:00
  • 5da108f6b9 Merge fdd64c6697 into b53595fb56 Schley Andrew Kutz 2016-07-18 23:08:47 +00:00
  • fdd64c6697 Optional TOML Support (disabled by default) akutz 2016-07-18 18:08:45 -05:00
  • b53595fb56 Bump Travis to Go 1.6.3 Bjørn Erik Pedersen 2016-07-18 23:48:14 +02:00
  • 249c63d906 Add dot in BindPFlag comment bogem 2016-07-14 23:37:09 +05:00
  • 4dfe66192f
    add GetInt64 Chuanjian Wang 2016-07-13 20:19:07 +08:00
  • aebf0fcdc5 Issue-105 Add time.Duration in TestUnmarshal Yauhen Lazurkin 2016-07-09 16:04:14 +03:00
  • e38b8a3bb3 Issue-105 Support time.Duration in viper.Unmarshal Yauhen Lazurkin 2016-07-09 15:37:52 +03:00
  • 9988dd7738 switch to pelletier/go-toml Chao Xu 2016-06-15 14:18:38 -07:00
  • 3baf1aeb9e Changing config name should also reset file name cache Roland Schilter 2016-06-08 16:05:26 +02:00
  • 7822eb6fbc Initial add of zookeeper remote Jimmy Tang 2016-06-07 21:13:14 +01:00
  • c1ccc378a0 Test on both Linux and OSX Bjørn Erik Pedersen 2016-06-06 00:03:07 +02:00
  • e5a7c9d385 Add support for Afero filesystems Matthieu Grieger 2016-06-01 20:42:35 -07:00
  • eb33902d94 Updated getKeyValueConfig to allow multiple config files from the same remote vendor Reza Shahbazi 2016-05-16 12:22:06 -07:00
  • 442af302ff Fix Sub to work with mixed-case subtrees Justin Tulloss 2016-05-08 18:33:56 -07:00
  • d8a428b8a3 Bump Travis to 1.6.2 Bjørn Erik Pedersen 2016-05-08 20:07:13 +02:00
  • 960e69f7c4 Allow tip to fail on Travis Bjørn Erik Pedersen 2016-05-08 14:34:24 +02:00
  • a0cdbddebd Remove kr/pretty dependency Bjørn Erik Pedersen 2016-05-08 13:12:02 +02:00
  • ce98f92b04 Fixed panic in AddConfigPath Andrew Po 2016-05-04 18:01:25 +03:00
  • f904a17905 Update Travis config to Go 1.4.3, 1.5.4 and 1.6.1 Anthony Fok 2016-04-21 06:40:14 +08:00
  • bbfa13f5e7 Merge 06cf89abd0 into 8e57fea7a8 Tony Narlock 2016-04-20 14:30:56 +00:00
  • 8e57fea7a8 Update import path of fsnotify Anthony Fok 2016-04-20 21:51:22 +08:00
  • 4737356376 Merge 2715727d1f into 45b73b72ad g3rk6 2016-04-20 13:45:24 +00:00
  • 45b73b72ad Fix typo Tony Narlock 2016-03-07 02:07:42 -06:00
  • e2a9ac4231
    Handle durations in Unmarshaling Jimmi Dyson 2016-04-15 13:49:45 +01:00
  • b42d870a30 enhance(remote): one RemoteProvider support multiple addresses lysu 2016-03-09 00:50:34 +08:00
  • 06cf89abd0 Typo Tony Narlock 2016-03-07 02:07:42 -06:00
  • 03d0bb47ee Prevent shadowning of keys when a nested key's value is nil. Alex Bice 2016-03-04 19:09:45 -07:00
  • 8050885396 Merge 23ffa6a2ea into c975dc1b4e Charles Phillips 2016-03-02 23:52:17 +00:00
  • 23ffa6a2ea flatten defaults to ensure all env vars are loaded; expand flat settings to ensure override precedence in merge Charles Phillips 2016-03-02 15:27:21 -08:00
  • 8b2b4b8675 Replace "." characters with "_" when parsing environment variables Joe Buck 2016-02-18 21:48:15 -08:00
  • e8036e1a24 Add test for parsing nested keys from environment variables Joe Buck 2016-02-18 21:27:02 -08:00
  • 13a79f2a27 Add a field to the JSON test data Joe Buck 2016-02-18 21:24:56 -08:00
  • c975dc1b4e implementing a weak decode wrapper called UnmarshalExact that errors on non existant fields in the destination struct dsp 2015-12-29 23:11:39 -07:00
  • d3fc5f547c Allow errors to propagate from getConfigFile(). Jonathan Anderson 2016-02-08 16:13:08 -03:30
  • dd66c894de Populate readme with viper based apps Steve Francia 2016-02-08 17:01:43 -05:00
  • 0b724557fb Merge cbfa4ca97e into e072d51737 seantao 2016-02-08 20:52:53 +00:00
  • a16da44748 Merge a53b9f1829 into e072d51737 Marcin Stanislawski 2016-02-08 20:52:33 +00:00
  • e072d51737 use aliases in all keys list to enable proper Unmarshaling Marcin Stanisławski 2016-01-20 22:15:43 +01:00
  • 30ce444d04 Update README with info about supporting Java properties files ryanwalls 2016-01-30 11:44:53 -07:00
  • 2715727d1f Fixed the issue of incorrect defer and error checking order. The error checking must be first otherwise it will cause panic. g3rk6 2016-01-25 22:56:20 -05:00
  • 0931e9e810 Revert "Added a straight forward merge of the maps of configuration objects." Laszlo Kiss 2016-01-24 00:01:01 -07:00
  • ea0dc3e3e0 Added a straight forward merge of the maps of configuration objects. Laszlo Kiss 2016-01-23 22:20:33 -07:00
  • 7d1565ac32 Prevent shadowning of keys when a nested key's value is nil. Laszlo Kiss 2016-01-23 22:17:01 -07:00
  • a53b9f1829 use aliases in all keys list to enable proper Unmarshaling Marcin Stanisławski 2016-01-20 22:15:43 +01:00
  • a212099cbe Watch the entire config dir for changes Bjørn Erik Pedersen 2016-01-11 16:07:23 +01:00
  • cc70319ebc Fix config watch Bjørn Erik Pedersen 2016-01-11 13:34:45 +01:00
  • cbfa4ca97e add func:GetConfig 宋海涛 2016-01-11 18:24:12 +08:00
  • 11ae2b9392 Added method to write into YAML file. g3rk6 2016-01-10 21:59:10 -05:00
  • d5c009456e Added functionality to export configuration based on config type. The feature supports JSON and TOML. g3rk6 2015-09-20 02:24:06 -04:00