Commit graph

  • 48307d640f New func GetConfigFilePath() which returns the path where Viper actually found the logfile Fabian Knorr 2018-02-05 21:49:41 +0100
  • 5874d0cb08
    Add test case for empty environment variable Márk Sági-Kazár 2018-01-16 13:32:03 +0100
  • 10f9aca639 Add time.Time (RFC 3339) support to defaultDecoderConfig russtone 2018-02-03 13:00:37 +0300
  • 497fce2145 Fix SafeWriteConfig Rodrigo Chiossi 2018-01-30 10:15:47 +0000
  • 4a90d8c3a8 Use 'viper' as decoder tag name Tyler Bunnell 2018-01-29 13:09:32 -0700
  • daea2aaa5a Creation of Sub now copies parent properties and sets envPrefix Roy Razon 2018-01-16 17:03:31 +0200
  • 34f98a8913 fix: WatchConfig leads to panic if OnConfigChange is not called EMayej Bee 2018-01-18 10:27:42 +0800
  • e4c9d87b4c fixed formatting Roy Razon 2018-01-16 13:19:27 +0200
  • da4885ce3d Added functionality to mock the environment variable store, for tests Roy Razon 2018-01-16 12:59:06 +0200
  • 5a520d2811 Merge 9ca9d6745d into aafc9e6bc7 Thordur Bjornsson 2018-01-16 09:19:48 +0000
  • 5f41252f95
    Add ToStringMapStruct() Albert Le Batteux 2018-01-11 13:13:31 +0100
  • 11588a03fa
    Prevent AutomaticEnv from clobbering an explicit mapping Carolyn Van Slyck 2018-01-10 10:35:47 -0600
  • 8e1c71e7c2
    Fix typo on registering alias section in README Budh Ram Gurung 2018-01-10 12:33:41 +0530
  • e0f7631cf3 WatchConfig and Kubernetes (#284) Xavier Coulon 2018-01-03 10:37:18 +0100
  • c6a016c43c Merge dc3e53cb8b into aafc9e6bc7 Márk Sági-Kazár 2017-12-28 17:00:42 +0000
  • aafc9e6bc7 travis: update go versions Davor Kapsa 2017-11-29 10:51:06 +0100
  • dc3e53cb8b
    Lookup environment variables instead of checking if the value is empty Márk Sági-Kazár 2017-12-22 02:13:52 +0100
  • 9656971389 use v.getConfigType to determine config type in WriteConfig Kristin Laemmert 2017-12-20 12:05:47 -0800
  • 2cf56962a6 Document reading a specific config file in README casept 2017-12-16 13:22:40 +0100
  • 1a0c4a370c Feature/write config (#287) Adam Sherwood 2017-12-06 20:26:31 -0800
  • 77aea9b385 Sync fork with upstream Adam Sherwood 2017-12-01 19:02:37 -0800
  • c0c02c2345 Sync fork with upstream Adam Sherwood 2017-12-01 18:52:52 -0800
  • 51bb70aff9
    travis: update go versions Davor Kapsa 2017-11-29 10:51:06 +0100
  • 749b07afe7 Declare required dependencies with go dep #413 Xavier Coulon 2017-11-11 15:00:33 +0100
  • 4dddf7c62e Allow exists util function to take afero.Fs so it can be used with non-deafult instances of Viper (#405) Jeff Lindsay 2017-11-09 14:57:16 -0600
  • 7ae2e803bd Allow exists util function to take afero.Fs so it can be used with non-deafult instances of Viper Jeff Lindsay 2017-10-24 13:56:45 -0500
  • 62674a9a65 Update LICENSE Leo Rudberg 2017-10-24 11:00:22 -0400
  • 4557438166 Added new method for getting Defaults values from config. Kamil Wargula 2017-10-20 13:45:18 +0200
  • 8ef37cbca7 Fix incorrect name of function in README.md Kamil Wargula 2017-10-20 12:22:28 +0200
  • 0295131e26 Fix incorrect name of function in README.md Kamil Wargula 2017-10-20 12:22:28 +0200
  • 056876e01f Add SetKeyDelimiter Robert Günzler 2017-10-17 14:54:28 +0200
  • 8d5bbde953 Fix retrieval of pflag stringArray Fabian Ruff 2017-10-17 11:33:56 +0200
  • 9e7b3a1bb5 Improve common mistake when using Cobra flagsets Tyler Butters 2017-10-08 12:47:12 -0400
  • 9ce37a02f1 Added testing for Get when typeByDefValue is set. Leo Rudberg 2017-10-02 15:43:02 -0400
  • d9cca5ef33 Go fmt viper.go Bjørn Erik Pedersen 2017-09-29 23:06:42 +0200
  • 266e588e9e Add string slice support to defaultDecoderConfig Alexander Krasnukhin 2017-03-03 12:09:20 +0100
  • 9ed185bc8f WatchConfig and Kubernetes, fixes #284 vasu1124 2017-09-18 12:27:25 +0200
  • 9cf6bd7828 Merge branch 'master' into feature/unmarshal-with-meta Adam Sherwood 2017-08-30 11:35:51 -0700
  • 3dfbd2fccd Merge branch 'master' into feature/write-config Adam Sherwood 2017-08-30 09:59:01 -0700
  • c892f2738f Merge eb4fbe638f into 25b30aa063 Kolbe Kegel 2017-08-23 06:49:56 +0000
  • bcaa23d4ab Added TestUnmarshalKeyExact() to test UnmarshalKeyExact(). Kolbe Kegel 2017-08-22 23:48:57 -0700
  • eb4fbe638f Added TestUnmarshalKeyExact() to test UnmarshalKeyExact(). Kolbe Kegel 2017-08-22 23:48:57 -0700
  • eaf7a394a2 Added UnmarshalKeyExact() as well as non-method UnmarshalExact(). Kolbe Kegel 2017-08-22 23:35:11 -0700
  • 6d96b16143 Added UnmarshalKeyExact() as well as non-method UnmarshalExact(). Kolbe Kegel 2017-08-22 23:35:11 -0700
  • 91e1c81bcc Merge f1d4c8e75a into 25b30aa063 Byron Kam 2017-08-19 00:41:44 +0000
  • f1d4c8e75a glide yaml and lock Byron Kam 2017-08-18 17:38:05 -0700
  • c706d52c9c ignore vendor folder Byron Kam 2017-08-18 17:35:47 -0700
  • ba9d8fe52a Merge 21e45f5ded into 25b30aa063 Maxim Krasilnikov 2017-07-23 05:52:46 +0000
  • 25b30aa063 Add Clairctl as a Go project that uses Viper v1.0.0 JG² 2017-07-23 07:52:07 +0200
  • 8ac2e2e20f Run gofmt on all existing code Nick Miyake 2017-07-22 22:47:47 -0700
  • f257d19100 Fix a few minor typos/formatting issues with comments Nick Miyake 2017-07-22 22:39:01 -0700
  • c65884f17a Merge branch 'master' into touchUpComments Anthony Fok 2017-07-22 23:36:39 -0600
  • 04691bc570 Improve documentation for flags Brad Peabody 2017-07-22 22:26:21 -0700
  • 9766537120 Fix grammar/typo in comment for getEnv() Nikola Kovacs 2017-07-23 07:09:41 +0200
  • a784b252c8 Merge 2e3a48342c into 16a9458573 Guiheux Steven 2017-07-23 04:54:31 +0000
  • 16a9458573 Fix indentation in README.md Albert Nigmatzianov 2017-07-23 06:54:24 +0200
  • b71fae7753 Viper Unmarshal example fix premshree 2017-07-22 09:37:03 -0400
  • df7314a14e Make minor copy-editing changes to README.md Anthony Fok 2017-07-21 04:20:10 -0600
  • c1de95864d Prevent redundant type assertion in Get Albert Nigmatzianov 2017-06-19 12:35:39 +0200
  • af42719ceb Prevent redundant type assertion in Get Albert Nigmatzianov 2017-06-19 12:35:39 +0200
  • 68a8b52d7b #358: access nested array values using get laxman.vallandas 2017-06-15 13:50:46 +0000
  • 5b05f7e94a Merge 62433a2544 into a1ecfa6a20 Matt Spaulding 2017-06-12 03:42:54 +0000
  • 62433a2544 Add glide file for dependency management Matt Spaulding 2017-06-11 20:40:09 -0700
  • b9f2b580f3 Merge 21a8c83361 into a1ecfa6a20 Roman Volosatovs 2017-06-10 20:51:41 +0000
  • a1ecfa6a20 Fix apostrophes in README Nick Miyake 2017-06-09 14:46:44 -0700
  • 4f591986d6 Fix apostrophes in README Nick Miyake 2017-06-09 14:46:44 -0700
  • 2e3a48342c
    fix: go fmt Steven Guiheux 2017-06-02 16:40:50 +0200
  • cc39e99a35 Add Clairctl as User JG² 2017-06-02 13:13:02 +0200
  • f60114508b gofmt code Nick Miyake 2017-05-21 11:43:00 -0700
  • 0ead5cf4db Fix a few minor typos/formatting issues with comments Nick Miyake 2017-05-21 11:34:55 -0700
  • 9fabc05b38 Fix indentation in README.md Albert Nigmatzianov 2017-05-08 13:40:01 +0200
  • ea05004cf9 Merge b4f55a56ad into 0967fc9ace Chase Adams 2017-05-02 09:23:54 +0000
  • 103db871f3 Fix documentation to correctly reflect implementation Herkermer Sherwood 2017-04-29 14:36:07 -0700
  • ed787f03db Add a tests and examples for each new method Herkermer Sherwood 2017-04-29 14:30:24 -0700
  • c254a5ba54 Add parallel functions/methods to unmarshal data and return mapstructure.Metadata Herkermer Sherwood 2017-04-29 14:28:30 -0700
  • 02eb49d4bd Fix small lint issues Herkermer Sherwood 2017-04-29 14:27:45 -0700
  • 1774aa4529 Merge c8bda1f37d into 0967fc9ace Anthony Fok 2017-04-27 02:45:18 +0000
  • b4f55a56ad add method for GetStringMapBool Chase Adams 2017-04-26 03:13:56 -0700
  • 4b195d0ed8 Fix toml return count error Herkermer Sherwood 2017-04-23 14:00:53 -0700
  • c588a0c383 Lint remote.go Herkermer Sherwood 2017-04-23 13:43:38 -0700
  • 760350d83c Use filename variable Herkermer Sherwood 2017-04-23 13:41:00 -0700
  • dceace525a Write all settings including overrides Herkermer Sherwood 2016-12-19 13:29:08 -0800
  • 0ea954cb0d Need to truncate the file before writing Herkermer Sherwood 2016-12-19 12:28:13 -0800
  • 543b9ec4c1 Revert "Modify to only support HCL write in Go 1.7" Herkermer Sherwood 2016-12-15 20:12:53 -0800
  • 01cef45259 Modify to only support HCL write in Go 1.7 Herkermer Sherwood 2016-12-15 13:12:09 -0800
  • cf3aa482da Modify test for updated HCL specification Herkermer Sherwood 2016-12-15 10:42:29 -0800
  • 6805b2ad85 Add tests for each written file type Herkermer Sherwood 2016-12-14 18:25:59 -0800
  • 3a92f74e9b Add support for remaining configuration types Herkermer Sherwood 2016-12-14 18:24:08 -0800
  • 315278c264 Make marshal spelling consistent throughout Herkermer Sherwood 2016-12-09 06:14:40 -0800
  • 5b296abffb Fix spelling Herkermer Sherwood 2016-12-09 06:12:34 -0800
  • 75bbdad0c3 Remove extra comments Herkermer Sherwood 2016-12-09 06:11:09 -0800
  • a694a73d31 Fix incorrectly modified imports Herkermer Sherwood 2016-12-09 06:10:10 -0800
  • 5d10b9a48a Add shared write function and safe methods Herkermer Sherwood 2016-12-08 17:07:43 -0800
  • 5ae581fbf7 Add support for toml Herkermer Sherwood 2016-12-08 17:07:08 -0800
  • e4c838dc30 Add WriteConfig methods Herkermer Sherwood 2016-12-08 03:00:18 -0800
  • 4c3baa4a94 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 -0500
  • 3611c6c1c4 Added method to write into YAML file. g3rk6 2016-01-10 21:59:10 -0500
  • 71d6b8c96f Added functionality to export configuration based on config type. The feature supports JSON and TOML. g3rk6 2015-09-20 02:24:06 -0400
  • 985fae64ee Added method to write into TOML file. g3rk6 2015-09-08 03:25:36 -0400
  • 3247ce7c30 Merge 393cd591dc into 0967fc9ace Vladimir Vivien 2017-04-19 14:22:43 +0000