Commit graph

  • 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 -0500
  • 0931e9e810 Revert "Added a straight forward merge of the maps of configuration objects." Laszlo Kiss 2016-01-24 00:01:01 -0700
  • ea0dc3e3e0 Added a straight forward merge of the maps of configuration objects. Laszlo Kiss 2016-01-23 22:20:33 -0700
  • 7d1565ac32 Prevent shadowning of keys when a nested key's value is nil. Laszlo Kiss 2016-01-23 22:17:01 -0700
  • a53b9f1829 use aliases in all keys list to enable proper Unmarshaling Marcin Stanisławski 2016-01-20 22:15:43 +0100
  • a212099cbe Watch the entire config dir for changes Bjørn Erik Pedersen 2016-01-11 16:07:23 +0100
  • cc70319ebc Fix config watch Bjørn Erik Pedersen 2016-01-11 13:34:45 +0100
  • cbfa4ca97e add func:GetConfig 宋海涛 2016-01-11 18:24:12 +0800
  • 11ae2b9392 Added method to write into YAML file. g3rk6 2016-01-10 21:59:10 -0500
  • d5c009456e Added functionality to export configuration based on config type. The feature supports JSON and TOML. g3rk6 2015-09-20 02:24:06 -0400
  • 48e0b61d8c Added method to write into TOML file. g3rk6 2015-09-08 03:25:36 -0400
  • 70685607d8 Whoops, overrode the original SetDefault ! didn't chekc much heh! Alexandre Bourget 2016-01-09 00:46:41 -0500
  • 7b7d1442ac Simplified to Default and SetDefault Alexandre Bourget 2016-01-09 00:25:12 -0500
  • 963ca4f768 Expose the default Viper instance through methods. Alexandre Bourget 2016-01-08 23:53:37 -0500
  • 0c82789feb Handle the case Get() returns either map[interface{}]interface{} or map[string]interface{} Lei Feng 2015-12-25 12:29:33 +0800
  • 4248a4cf35 Merge f8c12bb2f9 into 110492b300 Schley Andrew Kutz 2015-12-24 15:25:42 +0000
  • 110492b300 Bugfix for Nested Key Casing akutz 2015-10-26 17:52:14 -0500
  • 991d18afb2 Adds MergeConfig functionality akutz 2015-11-12 14:20:40 -0600
  • 664f5751e6 Merge ee77e28ba2 into c8c6312ace David Calavera 2015-12-24 15:17:02 +0000
  • c8c6312ace Add information about flag interfaces to the readme file. David Calavera 2015-12-18 18:34:45 -0500
  • 66249a6550 Add FlagValue interface to support other flag systems. David Calavera 2015-12-10 13:14:17 -0500
  • 105e3d0d19 Add Sub() for Viper, which returns a branch of a Viper instance. Lei Feng 2015-12-24 19:44:44 +0800
  • ee77e28ba2 Add information about flag interfaces to the readme file. David Calavera 2015-12-18 18:34:45 -0500
  • 9e8198962c Add FlagValue interface to support other flag systems. David Calavera 2015-12-10 13:14:17 -0500
  • fa82fffada Merge a9f31dbe0c into 79971f1ae7 Schley Andrew Kutz 2015-12-15 20:36:41 +0000
  • a52d8a4949 Merge fc04ee8c80 into 79971f1ae7 Patrick D 2015-12-15 19:44:52 +0000
  • 79971f1ae7 add HCL support to the README file patdhlk 2015-12-13 21:47:41 +0100
  • 8e6f2421dc add test structure for hcl patdhlk 2015-12-13 21:37:32 +0100
  • 60e1b5f599 changed the test hcl config patdhlk 2015-12-12 00:27:07 +0100
  • 606a4f3933 add support for hcl patdhlk 2015-12-11 23:51:11 +0100
  • 86ae8ecce2 Merge 75cf575e10 into 5c53af5e4f ziffusion 2015-12-15 17:58:49 +0000
  • 5c53af5e4f README: describe interworking with flag package Sanjay Bhandari 2015-12-04 15:07:55 -0500
  • 823bc1371b Document the use of struct tags to map the dissimilar fields. Abhinandan 2015-12-03 21:44:42 +0530
  • 7bc999a9c3 Merge 477a9ca352 into 87d443c19b HuKeping 2015-12-15 17:56:35 +0000
  • 87d443c19b Fix tab issue. HuKeping 2015-12-02 18:15:48 +0800
  • fc04ee8c80 add HCL support to the README file patdhlk 2015-12-13 21:47:41 +0100
  • d48326bfe9 add test structure for hcl patdhlk 2015-12-13 21:37:32 +0100
  • 90b31f671f Merge pull request #138 from derekparker/fix-typo Steve Francia 2015-12-11 21:21:22 -0500
  • c97c5cf59e changed the test hcl config patdhlk 2015-12-12 00:27:07 +0100
  • af970012b9 Merge 4d238ec572 into e3bc06f20c Schley Andrew Kutz 2015-12-11 23:02:28 +0000
  • 9cd0a9f663 add support for hcl patdhlk 2015-12-11 23:51:11 +0100
  • e3bc06f20c Refactored IsSet to examine keys akutz 2015-11-29 17:16:21 -0600
  • d19e707ecb Merge 7401bed36f into ce08532bfd Jonathan Boulle 2015-12-11 21:14:21 +0000
  • ce08532bfd Correct "etcd" naming Jonathan Boulle 2015-11-25 11:51:57 -0800
  • 75cf575e10 README: describe interworking with flag package Sanjay Bhandari 2015-12-04 15:07:55 -0500
  • cc3dd557e0 readme: Fix typo Derek Parker 2015-12-03 11:47:09 -0800
  • e197beec2f Document the use of struct tags to map the dissimilar fields. Abhinandan 2015-12-03 21:44:42 +0530
  • 477a9ca352 Fix tab issue. HuKeping 2015-12-02 18:15:48 +0800
  • f9e7a97f3c Refactored IsSet to examine keys akutz 2015-11-29 17:16:21 -0600
  • 7401bed36f Correct "etcd" naming Jonathan Boulle 2015-11-25 11:51:57 -0800
  • c25387f10d AllKeys() now includes bound flag and env var keys akutz 2015-10-29 12:57:16 -0500
  • f8c12bb2f9 Bugfix for Nested Key Casing akutz 2015-10-26 17:52:14 -0500
  • a9f31dbe0c Adds MergeConfig functionality akutz 2015-11-12 14:20:40 -0600
  • e37b56e207 Add dynamic reading of config file support spf13 2015-11-09 23:22:04 -0500
  • b1b1607431 Merge 690c1c1ef0 into c374c6d0a9 Schley Andrew Kutz 2015-11-10 00:24:25 +0000
  • c374c6d0a9 Flag Binding Refactor akutz 2015-11-09 16:58:46 -0600
  • 690c1c1ef0 Flag Binding Refactor akutz 2015-11-09 16:58:46 -0600
  • 4d238ec572 Added method ReadConfigNoNil akutz 2015-09-29 00:05:36 -0500
  • 7953bec357 Merge e9858c68c6 into a7ef020a9a Vlad Didenko 2015-11-06 19:50:55 +0000
  • a7ef020a9a Clarify CWD search. Fixes #32 Vlad Didenko 2015-11-06 13:43:15 -0600
  • e9858c68c6 Clarify CWD search. Fixes #32 Vlad Didenko 2015-11-06 13:43:15 -0600
  • 6510dc3d49 Merge 3cb0b72a88 into 87b94ba486 James Sweet 2015-11-05 00:36:02 +0000
  • 53bed82c93 Merge f927b1795c into 87b94ba486 Vlad Didenko 2015-11-05 00:35:48 +0000
  • 87b94ba486 Fixed #115: Added code in the find method to search for nested configuration parameters James Sweet 2015-10-13 18:31:32 -0400
  • 6a665317fd use docker based travis-ci spf13 2015-11-04 18:15:48 -0500
  • dc35bacfa2 Merge 9ebcb2f576 into 3041a43deb James Mintram 2015-11-04 23:06:17 +0000
  • 3041a43deb Noticed a couple ot typos James Mintram 2015-10-22 16:25:52 +0100
  • 493be7d534 Fix import syntax in README.md. David Symonds 2015-10-26 14:36:42 +1100
  • f927b1795c Fixes #32 Vlad Didenko 2015-11-03 14:25:37 -0600
  • d027b73aef Merge remote-tracking branch 'spf13/master' Vlad Didenko 2015-11-03 14:14:14 -0600
  • d2f75b4bef Add logo to readme Steve Francia 2015-11-02 11:07:43 -0500
  • 824e0d24e0 Fix import syntax in README.md. David Symonds 2015-10-26 14:36:42 +1100
  • 9ebcb2f576 Noticed a couple ot typos James Mintram 2015-10-22 16:25:52 +0100
  • 3cb0b72a88 Fixed #115: Added code in the find method to search for nested configuration parameters James Sweet 2015-10-13 18:31:32 -0400
  • fe248f6f5f Merge 9a29b16d6b into 1967d93db7 Matthew Surabian 2015-09-08 12:25:07 +0000
  • 1967d93db7 Fixed #36: Changed Marshal to Unmarshal throughout. Matt Surabian 2015-08-23 23:40:56 -0400
  • cdef144bdf Merge 7a381db820 into 0a4a93b685 Schley Andrew Kutz 2015-09-08 12:23:31 +0000
  • 0a4a93b685 [110] Default Values Specify Type akutz 2015-08-29 10:54:20 -0500
  • 7a381db820 [110] Default Values Specify Type akutz 2015-08-29 10:54:20 -0500
  • 5365fdfcbe Merge 1f5bca0dfd into 3c0ff861e3 Jack Spirou 2015-08-26 12:52:20 +0000
  • 3c0ff861e3 running tests again jackspirou 2015-08-03 11:42:26 -0500
  • 09ba0a6954 fixing second slice type needed jackspirou 2015-07-30 15:46:38 -0500
  • d028fd65ba changing import statements back jackspirou 2015-07-30 15:44:12 -0500
  • cc1c9a82a5 typo: slice type needed jackspirou 2015-07-30 15:43:18 -0500
  • 0a12778a8c using my own version of github.com/spf13/cast for now jackspirou 2015-07-30 15:38:59 -0500
  • b9316c3299 adding GetStringMapStringSlice method jackspirou 2015-07-30 15:27:34 -0500
  • 9a29b16d6b Fixed #36: Changed Marshal to Unmarshal throughout. Matt Surabian 2015-08-23 23:40:56 -0400
  • a99a3b4689 Merge upstream master. Stephan Zeissler 2015-08-20 12:44:00 +0200
  • b834bdbce4 Merge b7788313e9 into 9fca10189b Vlad Didenko 2015-08-17 05:15:08 +0000
  • bb585f70fe Merge 88966f7438 into 9fca10189b Vlad Didenko 2015-08-17 05:12:58 +0000
  • 9fca10189b Fixed #73 Vlad Didenko 2015-08-01 19:37:27 -0500
  • fa137328f6 Fixed #68 Vlad Didenko 2015-08-01 20:32:35 -0500
  • 1f5bca0dfd running tests again jackspirou 2015-08-03 11:42:26 -0500
  • 88966f7438 Fixed #68 Vlad Didenko 2015-08-01 20:32:35 -0500
  • b7788313e9 Fixed #73 Vlad Didenko 2015-08-01 19:37:27 -0500
  • beef96a972 Merge e4dd0af974 into 2abb1bebfd oliver 2015-07-31 23:29:22 +0000
  • dd94a73d72 fixing second slice type needed jackspirou 2015-07-30 15:46:38 -0500
  • e7be87777c changing import statements back jackspirou 2015-07-30 15:44:12 -0500
  • 0def2189a8 typo: slice type needed jackspirou 2015-07-30 15:43:18 -0500
  • 30232be240 using my own version of github.com/spf13/cast for now jackspirou 2015-07-30 15:38:59 -0500