Commit graph

  • bf7e634b7f Removes superfluous block for intSlice, and appends to stringSlice instead M 2018-04-02 13:37:57 -0400
  • 43a90672d3 Handles the case of merging pflag intSlices M 2018-04-02 13:30:26 -0400
  • 445d29ddaa Adds Getter and related code for IntSlices M 2018-04-02 12:49:05 -0400
  • 41f829b2c9 refactor test to avoid negative counter on WG Xavier Coulon 2018-08-06 09:29:13 +0200
  • e12d3d32d1 Merge branch 'master' into Issue284_Kubernetes_config Xavier Coulon 2018-08-06 08:18:53 +0200
  • 907c19d40d Support customising mapstructure.DecoderConfig for Unmarshal v1.1.0 Chris Reeves 2018-06-28 10:55:33 +0100
  • 829e890a30 Add IsExplicit function to check for non-default. Joe Frank 2018-08-01 13:51:20 -0600
  • f60a380504 Merge branches 'feature/add-StopWatchConfig' and 'fix/SafeWriteConfig' Daniel Einspanjer 2018-07-31 18:40:21 -0400
  • 39ff071e20
    Merge a0ade1f92b into d493c32b69 Daniel Einspanjer 2018-07-31 22:37:52 +0000
  • a0ade1f92b Increase sleeps in WatchConfig test because travis-ci wasn't as fast as my laptop. Daniel Einspanjer 2018-07-31 18:37:44 -0400
  • 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 -0400
  • 73a424eb4d
    Merge a13717d966 into d493c32b69 lnashier 2018-07-30 20:59:14 +0000
  • c5ac5be5de
    Merge a13717d966 into d493c32b69 lnashier 2018-07-30 19:28:37 +0000
  • a13717d966 remove case insensitive methods lnashier 2018-07-30 12:27:35 -0700
  • d8556d31d7
    Merge 74d425cf73 into d493c32b69 lnashier 2018-07-30 18:53:44 +0000
  • 30d9bdae14 edited .gitignore Andrey Odintsov 2018-07-27 13:46:54 +0300
  • afca17a005 additions to make viper goroutine save for some actions Andrey Odintsov 2018-07-27 13:37:05 +0300
  • e8b4ff02fe Fixed missing f.Close() in writeConfig() bpizzi 2018-07-27 10:10:14 +0200
  • bab97b4ec3 Add a note in the README.md for usage of CancelWatchConfig() Daniel Einspanjer 2018-07-25 09:34:48 -0400
  • 981de21183 Issue #539 - Add viper.CancelWatchConfig() Daniel Einspanjer 2018-07-25 09:23:24 -0400
  • 32aa319187 if config type is already set, ignore file extension and use the saved config type cmohrb 2018-07-13 15:55:31 +0200
  • 27c7fe66cf
    Merge 4557438166 into d493c32b69 Kamil Warguła 2018-07-13 14:34:40 +0000
  • 6367345ef9
    Merge 10f9aca639 into d493c32b69 Anton Prokhorov 2018-07-13 14:34:21 +0000
  • 0fdac11054
    Merge 65e8f0b086 into d493c32b69 cmohrb 2018-07-13 14:28:44 +0000
  • 65e8f0b086 if config type is already set, ignore file extension and use the saved config type Christian Mohrbacher 2018-07-13 15:55:31 +0200
  • c1250e5dd7 apply review comments Xavier Coulon 2018-07-13 10:30:23 +0200
  • 3f71ac11c6 use export GetConfigFile liujianping 2018-07-12 11:21:39 +0800
  • 3092f8771d export GetConfigFile function, very useful for extending viper liujianping 2018-07-12 11:17:21 +0800
  • d493c32b69 Update README.md (#470) Adriano 2018-07-10 08:30:20 -0400
  • fb7a06477f
    Add example of marshalling to string (#531) Brice Fernandes 2018-07-10 12:30:24 +0100
  • 4d0f6f5c54 Add example of marshalling to string Brice Fernandes 2018-07-09 20:19:49 +0100
  • d1c88647e1
    Merge 59bd5de384 into 15738813a0 Brice Fernandes 2018-07-09 17:49:58 +0000
  • 59bd5de384 Update invocations Brice Fernandes 2018-07-09 18:49:46 +0100
  • 88c1d9fbd9 Expose MarshalWriter publicly Brice Fernandes 2018-07-09 18:41:40 +0100
  • 481f31456a Missing "dotenv" from SupportedExtns mexisme 2018-07-09 21:26:51 +1200
  • 94d1c0a6ee Support .env format files mexisme 2018-07-09 21:22:12 +1200
  • df725f4cdc
    Support customising mapstructure.DecoderConfig for Unmarshal Chris Reeves 2018-06-28 10:55:33 +0100
  • 8c544d5674
    Merge branch 'master' into windows_config_path Julien Kauffmann 2018-06-27 07:50:21 -0400
  • 7e20eda4ff add GetUint/GetUint32/GetUint64 smoreg 2018-06-21 22:27:44 +0300
  • f1c29ce273 Allow environment variables to be set to empty string Harrison Healey 2018-06-20 14:31:47 -0400
  • 630d0d3b29 chore(viper): gofmt Afshin Mehrabani 2018-06-16 16:01:05 +0100
  • 70f0ec38dd chore(viper): adding a warning when read file method returns an error and filename contains the extension Afshin Mehrabani 2018-06-16 15:54:37 +0100
  • f4646eef68 Add global UnmarshalExact method Gregory Haynes 2018-06-08 20:32:49 +0000
  • 4ff42e3b4b add comment yangheng 2018-06-06 15:07:10 +0800
  • 0648a0fafe remove yangheng 2018-06-06 15:03:55 +0800
  • 81806461a8 add sub viper list yangheng 2018-06-06 15:00:40 +0800
  • ef0f429f98 Trailing space Lucas Vogelsang 2018-06-02 13:08:20 +0000
  • 4d7e75d1a0
    Adding a comment noting that the Sub() method doesn't return a fully functional viper object Lucas Vogelsang 2018-06-02 08:57:57 -0400
  • aa2bb3a537 Create getDefaultConfigFile() test koooge 2018-05-24 18:05:24 +0000
  • c21acdd422 Use defaultConfigFile if configFile is not exist koooge 2018-05-23 18:01:59 +0000
  • 242f4890f5 Refactor with WaitGroup and check channel is open Xavier Coulon 2018-05-24 10:09:29 +0200
  • 52aa246076
    Merge fb72938b55 into 15738813a0 satotake 2018-05-18 02:58:16 +0000
  • e919dff7ac call onConfigChange callback only if it is not nil, so i really become an optional parameter. Andrew Odintsov 2018-05-16 14:22:57 +0300
  • a70902f83c get rid of debugging to pass test John Adams 2018-05-14 17:54:47 -0700
  • bd2a8eace3 cleanup formatting to pass tests John Adams 2018-05-14 14:37:53 -0700
  • 146fa552dd minor comment typo fix John Adams 2018-05-14 14:31:51 -0700
  • 5197566d20 format cleanup John Adams 2018-05-14 11:46:15 -0700
  • 33dd3593c9 fork and merge in my chnages to support vault John Adams 2018-05-14 11:39:27 -0700
  • 19069ff9a7
    Merge 9ed185bc8f into 15738813a0 vasu1124 2018-05-14 16:51:23 +0000
  • 15738813a0 Add GetInt32 Travis Jeffery 2018-05-05 21:38:06 -0400
  • 93604a6ba5 Fix environment variable expansion in absPathify João Abecasis 2018-05-07 01:26:35 +0200
  • 67e97e6c5c Add GetInt32 Travis Jeffery 2018-05-05 21:38:06 -0400
  • 8b8d9d821c Add README.md for Consul remote provider Adhatama 2018-04-24 22:53:03 +0700
  • d80342619e cloudconfig: bringing updated viper laxman vallandas 2018-04-24 17:50:46 +0530
  • 84f2946712 viper patch to support cloudconfig lib laxman vallandas 2018-04-24 17:47:31 +0530
  • e5459cc690 Change implementation of find sub-tree to work with deep trees Harley Laue 2018-04-23 14:27:51 -0700
  • b7a4909ef7 Allow getting Sub from a prefix of pflags key(s) Harley Laue 2018-04-23 11:06:26 -0700
  • a7a5948b15 Check for nil before binding pflag(s) Harley Laue 2018-04-23 10:24:03 -0700
  • be985b07ea fix dep wrong case kun 2018-04-19 17:34:10 +0800
  • 74d425cf73
    Merge pull request #1 from lnashier/swu1/removeInsensitiveMethods lnashier 2018-04-09 15:30:19 -0700
  • 6e8660e5da
    Merge a5650e80e9 into 8dc2790b02 wsnani 2018-04-09 22:24:12 +0000
  • a5650e80e9 remove insensitive methods swu1 2018-04-09 14:56:51 -0700
  • 97befb3142
    Merge 68a8b52d7b into 8dc2790b02 laxmanvallandas 2018-04-08 04:44:33 +0000
  • 4f5003aa93 Added viper.EnvSettings method Harrison Healey 2018-04-05 11:09:14 -0400
  • 8dc2790b02 travis: update go versions Michael Käufl 2018-03-22 08:00:28 +0100
  • bf0a06a71c
    typo: remove extra word "use" Dan Rollo 2018-04-04 10:16:52 -0400
  • c354f54ddd
    Merge b8db2cc5ba into b5e8006cbe Stewart 2018-04-03 10:02:51 +0000
  • b8db2cc5ba Getting case error when trying to import the module with vgo; Stewart Mbofana 2018-04-03 12:01:56 +0200
  • 7b01606243 Removes superfluous block for intSlice, and appends to stringSlice instead M 2018-04-02 13:37:57 -0400
  • bd294940f9 Handles the case of merging pflag intSlices M 2018-04-02 13:30:26 -0400
  • 1d33b640d9 Adds Getter and related code for IntSlices M 2018-04-02 12:49:05 -0400
  • e75b304334 travis: update go versions Michael Käufl 2018-03-22 08:00:28 +0100
  • b83017d211
    Update README.md Adriano 2018-03-20 11:58:48 -0400
  • b5e8006cbe
    Undexport GetConfigFile v1.0.2 Bjørn Erik Pedersen 2018-03-19 19:50:19 +0100
  • 00ed41cdba
    Export and fix GetConfigFile v1.0.1 Bjørn Erik Pedersen 2018-03-19 19:12:24 +0100
  • 0a8c192870 Update Godoc for function GetConfigFilePath to meet Godocs approach to documentation Fabian Knorr 2018-02-27 21:24:08 +0100
  • 90504899c7 Moved shared resources out of the loops in TestBindPFlagsStringSlice() Benoit Masson 2017-04-17 18:52:44 +0200
  • 2a65a6683e Fixed TestBindPFlagsStringSlice() Benoit Masson 2017-04-17 18:52:25 +0200
  • 148386d3bb Updated TestBindPFlagsStringSlice() to highlight a failure Benoit Masson 2017-04-17 18:33:30 +0200
  • 11000c7503
    Merge 9bbdff2bf1 into aafc9e6bc7 Sam Whited 2018-02-23 21:34:06 +0000
  • 9bbdff2bf1 Fix incorrect import casing Sam Whited 2018-02-23 15:21:41 -0600
  • 500b8946d7
    Cater for case-sensitive dependencies Panagiotis Moustafellos 2018-02-21 16:28:35 +0200
  • e252e1cc54 Bugfix: simplifying GetConfigFilePath() led to compile error Fabian Knorr 2018-02-10 16:03:06 +0100
  • d18964fe22 gofmt -d . RavenZZ 2018-02-09 10:31:29 +0800
  • 5b910a626d Merge branches 'master' and 'master' of github.com:RavenZZ/viper RavenZZ 2018-02-09 10:21:49 +0800
  • 047b2100ff fix go imports sort RavenZZ 2018-02-09 10:21:38 +0800
  • cb86dfebca
    Merge branch 'master' into master Raven 2018-02-08 20:01:17 -0600
  • 18f781b94a WatchRemoteConfigOnChannel RavenZZ 2018-02-08 16:54:56 +0800
  • b6a7a50b2f Doc for GetConfigFilePath() now precedes the function Fabian Knorr 2018-02-06 20:15:27 +0100
  • e867180379 Simplifed function GetConfigFilePath() Fabian Knorr 2018-02-06 20:14:04 +0100