Commit graph

  • 9f343fef15
    Update go.sum with go1.11.4 Mark Sagi-Kazar 2019-01-25 10:00:48 +01:00
  • e1232d2990 Added setter for strategies used. Thomas Miller 2019-01-22 14:00:35 +13:00
  • 5a972e97cf New merge strategy feature Thomas Miller 2019-01-22 12:09:18 +13:00
  • 08ec44ed04
    Fix indentation for yamlStringSettings Pawan Rawal 2019-01-08 11:29:58 +11:00
  • 9f79234f5e Viper commit laxmanvallandas 2019-01-05 14:11:24 +05:30
  • 3a0ea76e70 Fix function AllowEmptyEnv name in documentation Stephen Ford 2019-01-02 09:54:50 +00:00
  • e59ebc4c2d fix test bug yanyandenuonuo 2018-12-28 18:10:25 +08:00
  • e270d7d00f add test for unregister alias yanyandenuonuo 2018-12-28 17:49:07 +08:00
  • 3421df1f9b support unregister alias yanyandenuonuo 2018-12-28 17:41:52 +08:00
  • 6d33b5a963
    Make the map in MergeConfigMap case insensitive v1.3.1 Bjørn Erik Pedersen 2018-12-07 11:02:11 +01:00
  • 4e5ee5cc58
    Update README.md Alpha 2018-12-06 10:52:08 +08:00
  • 41cd1c3aa3 Restrict Travis to >= Go 1.11, use Go Modules, and get the test to pass v1.3.0 Bjørn Erik Pedersen 2018-12-05 16:27:02 +01:00
  • 3535c75fa8 Add MergeConfigMap Bjørn Erik Pedersen 2018-12-05 15:19:25 +01:00
  • f4d1c82709
    Restrict Travis to >= Go 1.11, use Go Modules, and get the test to pass Bjørn Erik Pedersen 2018-12-05 16:27:02 +01:00
  • 3b6e7e5485
    Add MergeConfigMap Bjørn Erik Pedersen 2018-12-05 15:19:25 +01:00
  • 9eb20cae37
    ADD: installation method Alpha 2018-12-05 16:27:23 +08:00
  • 0353dfce59 Adds support for merging slices Thomas Miller 2018-11-27 09:32:28 +10:00
  • 7ba32f6a08 Merge remote-tracking branch 'origin/master' Andrey Odintsov 2018-11-26 12:50:49 +03:00
  • b534337da7 Merge branch 'concurrent-support' Andrey Odintsov 2018-11-26 12:50:28 +03:00
  • 3a3fad7b69
    Update go.mod Andrey Odintsov 2018-11-26 12:25:03 +03:00
  • 319b0fc627 Resolved merge conflicts in viper.go Andrey Odintsov 2018-11-26 12:16:57 +03:00
  • e2a134a768
    Remove AllowEmptyEnvVar from documentation Renann Prado 2018-11-23 23:19:49 +01:00
  • 06c7c0d9b3
    Use assert.EqualValues for slice checking Bjørn Erik Pedersen 2018-11-19 10:38:40 +01:00
  • da44dc1a84 reword casept 2018-11-19 08:27:41 +00:00
  • e6b430f29c Fix failing TestBindPFlagsStringSlice Albert Salim 2018-11-15 22:50:43 +08:00
  • 1b236c9599
    Fix failing TestBindPFlagsStringSlice Dr. Tobias Quathamer 2018-11-15 10:27:52 +01:00
  • e71af1ee61 weird xordataexchange/crypt dependency problem, trying to find code.google.com. do not build with -a willdrug 2018-11-08 16:44:33 +03:00
  • ae103d7e59 Moved shared resources out of the loops in TestBindPFlagsStringSlice() Benoit Masson 2017-04-17 18:52:44 +02:00
  • 69647fb422 Fixed TestBindPFlagsStringSlice() Benoit Masson 2017-04-17 18:52:25 +02:00
  • cc7e906d88 Updated TestBindPFlagsStringSlice() to highlight a failure Benoit Masson 2017-04-17 18:33:30 +02:00
  • 13b1becc90
    added a setting to make viper case sensitive Emil Nikolov 2018-11-07 03:06:30 +01:00
  • d1760f092a Merge branch 'master' of https://github.com/useafterfree/viper into GetStringEnv Nathan Trujillo 2018-11-06 15:26:22 -08:00
  • 98e3faa0ad implement os.ExpandEnv, and augment test to meet both forms it supports Nathan Trujillo 2018-11-06 14:34:04 -08:00
  • b7a3b95476 Lookup environment variables instead of checking if the value is empty Márk Sági-Kazár 2018-11-06 22:53:21 +01:00
  • 4f59047658
    Add AllowEmptyEnv method to preserve backard compatibility Mark Sagi-Kazar 2018-11-06 20:20:07 +01:00
  • c66462282e Added opts to DecoderConfigOption Neven Miculinic 2018-11-06 12:05:02 +01:00
  • 1f9c701ead Added SetDefaults (multiple) func accepting map[string]interface{}. willdrug 2018-11-02 16:20:46 +03:00
  • 649c95a3fa Improve documentation of Unmarshaling Wenbin Zhang 2018-10-31 23:25:49 -07:00
  • fd8ee01d89
    fix indentation of marshalling code sample Adrian Lanzafame 2018-10-26 17:05:42 +10:00
  • 8f88ea76a6
    Fixed unmarshalReader not returning error when the input io.Reader returns an error Thulio Assis 2018-10-19 13:47:18 -07:00
  • fea57bb522
    Merge pull request #1 from useafterfree/GetStringEnv Nathan Trujillo 2018-10-18 14:31:01 -07:00
  • d09390e250 Add method GetStringEnv which will interpolate values which look like environmental variables and return them; Nathan Trujillo 2018-10-17 18:35:50 -07:00
  • 4317f4793e remove github.com/magiconair/properties victor 2018-10-15 14:41:40 +08:00
  • ce95343c2f remove all remote code and providers except json victor 2018-10-15 11:07:15 +08:00
  • c3ab84f775 Implement CancelWatchConfig which allows one to turn off the watcher Daniel Einspanjer 2018-10-10 14:05:22 -04:00
  • 15be5e8700 Fix for #549 Add O_CREATE flag to the non-force branch of writeConfig Also add test for the method Daniel Einspanjer 2018-07-31 18:32:14 -04:00
  • a9236e1fbf SetEnvKeyReplacer(): replace concrete type "strings.Replacer" with its interface PROger4ever 2018-10-05 12:37:22 +05:00
  • a4ecf81802
    Merge b3807f4150 into 62edee3196 Umair Idris 2018-10-04 20:49:18 +00:00
  • b3807f4150
    Fix code formatting in README Umair Idris 2018-10-04 16:48:36 -04:00
  • e08e06405f Implements #572 - viper.Require Albert Salim 2018-10-04 17:46:28 +08:00
  • f5346596bf fixed typeSwitchVar warnings Veselkov Konstantin 2018-09-30 23:26:14 +04:00
  • 62edee3196
    Revert "Cater for case-sensitive dependencies (#463)" Andrew Stuart 2018-09-29 21:41:27 -07:00
  • b56071875a Cater for case-sensitive dependencies (#463) Panagiotis Moustafellos 2018-09-30 06:32:38 +03:00
  • a1b8372762
    Fix nil pointer on watch function (#568) v1.0.3 Andrew Stuart 2018-09-28 00:53:21 -07:00
  • f69c91abd3
    Fix nil pointer on watch function (#568) v1.1.1 Andrew Stuart 2018-09-28 00:53:21 -07:00
  • 8e194e8ad2
    Merge branch 'master' into mergefix/Issue284_Kubernetes_config mergefix/Issue284_Kubernetes_config Andrew Stuart 2018-09-28 01:05:04 -07:00
  • 0d783e7344
    Use test log Andrew Stuart 2018-09-28 01:04:19 -07:00
  • 159de3698a
    Merge 8c544d5674 into 2c12c60302 Julien Kauffmann 2018-09-28 07:54:53 +00:00
  • 2c12c60302
    Fix nil pointer on watch function (#568) v1.2.1 Andrew Stuart 2018-09-28 00:53:21 -07:00
  • a8d2f21f14
    Fix nil pointer on watch function bugfix/watch-nil-pointer Andrew Stuart 2018-09-27 23:34:43 -07:00
  • ca33b081ee Add sub Viper instance List zufar 2018-09-17 12:25:42 +03:00
  • 98d51522b2 stringarray pulls directly from pflag Patrick Dufour 2018-09-15 12:32:22 -04:00
  • 3171ef9a22
    Revert "Add go.sum to .gitignore" Bjørn Erik Pedersen 2018-09-07 15:06:02 +02:00
  • 841bd4ebcd
    Add go.sum to .gitignore Bjørn Erik Pedersen 2018-09-07 11:52:15 +02:00
  • 8fb6420065
    Add go.mod v1.2.0 Bjørn Erik Pedersen 2018-09-07 11:30:55 +02:00
  • 50dca2803b Added tests for deep nested array values Ricardo Souza 2018-09-03 10:36:18 -03:00
  • 0ac2068de9 Fix overflow error on 32 bit architectures (#340) Dr. Tobias Quathamer 2018-09-01 22:59:01 +02:00
  • e82a186fc0 Remove tests which result in an overflow error on 32 bit architectures Dr. Tobias Quathamer 2017-04-26 22:23:01 +02:00
  • 4cfb3a9245 Handle int64 separately for 32 bit architectures Dr. Tobias Quathamer 2018-09-01 22:43:37 +02:00
  • 8addaed22d Add README.md for Consul remote provider (#489) Adhatama 2018-08-29 05:05:06 +07:00
  • 05116ad639 Revert "fix dep wrong case (#484)" Aarti Parikh 2018-08-28 02:34:36 -06:00
  • b7a62b2c00 fix dep wrong case (#484) kun 2018-08-28 15:37:55 +08:00
  • e436d04e6d correct a comment on viper.Set() (#553) Robin Brämer 2018-08-28 09:29:26 +02:00
  • 40b1bbb9a8 travis: update go versions (#558) Michael 2018-08-28 07:08:14 +00:00
  • 8149102a88 travis: update go versions Michael Käufl 2018-08-25 17:12:31 +02:00
  • 4f738d6f3f insensitivise slices of maps when reading from config file cmohrb 2018-08-22 11:28:42 +02:00
  • 8e90aaafac add method subSlice to get an array/table/list of config options as slice of "sub-vipers" cmohrb 2018-08-21 18:23:30 +02:00
  • a641c3b4e7 Added test for index notation in keys Ricardo Souza 2018-08-17 21:11:21 -03:00
  • 02aa8552a1 Added support for parsing keys with index notation (eg.: "prop[0].sub-prop") Ricardo Souza 2018-08-17 21:10:50 -03:00
  • b087978410 Adding a method to merge config in the override section Maxime Mouial 2018-08-16 12:42:16 -04:00
  • 47c13064e7
    correct a comment on viper.Set() Robin Brämer 2018-08-13 13:06:23 +02:00
  • 2f85719c3f Fix example code okazu-dm 2018-08-12 13:35:30 +09:00
  • 6532c4a9b9
    Merge d1bdae2e98 into 907c19d40d M@ 2018-08-07 11:18:09 +00:00
  • d1bdae2e98 Merge branch 'add-intslice' of https://github.com/cognusion/viper into add-intslice M 2018-08-07 07:17:54 -04:00
  • bf7e634b7f Removes superfluous block for intSlice, and appends to stringSlice instead M 2018-04-02 13:37:57 -04:00
  • 43a90672d3 Handles the case of merging pflag intSlices M 2018-04-02 13:30:26 -04:00
  • 445d29ddaa Adds Getter and related code for IntSlices M 2018-04-02 12:49:05 -04:00
  • 41f829b2c9 refactor test to avoid negative counter on WG Xavier Coulon 2018-08-06 09:29:13 +02:00
  • e12d3d32d1 Merge branch 'master' into Issue284_Kubernetes_config Xavier Coulon 2018-08-06 08:18:53 +02:00
  • 907c19d40d Support customising mapstructure.DecoderConfig for Unmarshal v1.1.0 Chris Reeves 2018-06-28 10:55:33 +01:00
  • 829e890a30 Add IsExplicit function to check for non-default. Joe Frank 2018-08-01 13:51:20 -06:00
  • f60a380504 Merge branches 'feature/add-StopWatchConfig' and 'fix/SafeWriteConfig' Daniel Einspanjer 2018-07-31 18:40:21 -04:00
  • 39ff071e20
    Merge a0ade1f92b into d493c32b69 Daniel Einspanjer 2018-07-31 22:37:52 +00:00
  • a0ade1f92b Increase sleeps in WatchConfig test because travis-ci wasn't as fast as my laptop. Daniel Einspanjer 2018-07-31 18:37:44 -04:00
  • 4d1d0ae78f Fix for #549 Add O_CREATE flag to the non-force branch of writeConfig Also add test for the method Daniel Einspanjer 2018-07-31 18:32:14 -04:00
  • 73a424eb4d
    Merge a13717d966 into d493c32b69 lnashier 2018-07-30 20:59:14 +00:00
  • c5ac5be5de
    Merge a13717d966 into d493c32b69 lnashier 2018-07-30 19:28:37 +00:00
  • a13717d966 remove case insensitive methods lnashier 2018-07-30 12:27:35 -07:00
  • d8556d31d7
    Merge 74d425cf73 into d493c32b69 lnashier 2018-07-30 18:53:44 +00:00
  • 30d9bdae14 edited .gitignore Andrey Odintsov 2018-07-27 13:46:54 +03:00