Commit graph

  • a880a5f698 Reformatted expected values in TestAllKeys inkychris 2019-03-17 22:11:21 +0000
  • 1134863c4a Added calls to unset uppercase versions of variables used in empty env tests inkychris 2019-03-16 14:28:59 +0000
  • d874efd794 Changed assertion in TestDirsSearch to use filepath.Base instead of path.Base for Windows backslashes inkychris 2019-03-16 13:22:35 +0000
  • d86fb2e6af Modified testDirs list in initDirs to avoid invalid path on Windows inkychris 2019-03-16 13:20:04 +0000
  • cb74da57f4 Changed initDirs method to terminate tests if root (temp) dir does not exist inkychris 2019-03-16 13:19:11 +0000
  • 3778ebe034 Replaced os.Clearenv call to clear just variables under test inkychris 2019-03-16 13:17:47 +0000
  • a08ef33f29 Added check to ensure temp dir exists in initDirs inkychris 2019-03-16 11:10:32 +0000
  • 3954e41520 Merge removal of insensitiviseMaps() Kailash Nadh 2019-03-15 12:09:04 +0530
  • 266409ad16
    Commit gofmt changes Chris Wright 2019-03-13 10:53:58 +0000
  • d80ace340d
    Added setters for key delimiter Chris Wright 2019-03-13 10:37:26 +0000
  • 9e56dacc08 Remove superflous insensitiviseMaps in Unmarshal methods v1.3.2 Bjørn Erik Pedersen 2019-03-12 15:14:37 +0100
  • 43ce8c2ebe
    Remove superflous insensitiviseMaps in Unmarshal methods Bjørn Erik Pedersen 2019-03-12 15:14:37 +0100
  • 7329faf708
    Remove superflous insensitiviseMaps in Unmarshal methods Bjørn Erik Pedersen 2019-03-12 15:14:37 +0100
  • f1677f5a18
    Remove superflous insensitiviseMaps in Unmarshal methods Bjørn Erik Pedersen 2019-03-12 15:14:37 +0100
  • 3ea8190a2e update dependencies Andrey Odintsov 2019-03-11 13:18:41 +0300
  • e456e9bbd8 update dependencies Andrey Odintsov 2019-03-06 13:49:59 +0300
  • 59d5cbf4d7
    Allow using error getters without disabling type inference (#4) Xavier Lucas 2019-03-05 13:27:36 +0100
  • eadb687b05
    Merge pull request #3 from DataDog/xavier.lucas/get-with-errors Xavier Lucas 2019-03-01 16:47:21 +0100
  • 64afcb0c57 ReadInConfig now clears override and other maps Andrey Odintsov 2019-03-01 16:28:51 +0300
  • f645e234c6 fix viper config write permissions Andrey Odintsov 2019-02-28 15:33:48 +0300
  • 2ecf3ac9a3 Add IsExplicit function to check for non-default. Joe Frank 2019-02-26 16:05:23 -0700
  • 07a0f11324
    Expose type casting errors Xavier Lucas 2019-02-25 17:38:41 +0100
  • 7103d3664e Add IsExplicit function to check for non-default. Joe Frank 2019-02-25 15:09:47 -0700
  • d4432fc0cd Issue #654: OnConfigChangeErr callback Sergey Basov 2019-02-25 14:17:10 +0300
  • a7a70dbe56 Add API for setting file permissions Kris 2019-02-22 10:54:48 -0800
  • 8b9fb57d30 added ability to delete key from Viper Andrey Odintsov 2019-02-20 14:28:54 +0300
  • ee84613512
    Fix indentation for yamlStringSettings Pawan Rawal 2019-02-17 12:58:58 +1100
  • ab64abd4df Add WriteConfig documentation EmilLuta 2019-02-15 09:39:08 +0200
  • 23ced3bc6b
    Merge pull request #2 from olivielpeau/allow-keydelim-mapkey Olivier Vielpeau 2019-02-14 18:26:07 +0100
  • e89dd07ee4 Fix AllSettings when some map keys contain the key delimiter Olivier Vielpeau 2018-11-07 22:11:30 +0100
  • e9c8d7a439
    Merge pull request #1 from DataDog/maxime/merge-override maxime mouial 2019-02-13 10:36:55 -0700
  • 1ace185fe9 Fix function comments based on best practices from Effective Go CodeLingo Bot 2019-02-13 00:48:45 +0000
  • e8d119fbb0 Adding a method to merge config in the override section Maxime Mouial 2019-02-08 13:34:19 -0700
  • 1be8a721bb
    fixed marshal 0xflotus 2019-02-10 08:00:42 +0100
  • be88608cca Adding a method to merge config in the override section Maxime Mouial 2019-02-08 13:34:19 -0700
  • 020e5b5ba3 Fix error formatting based on best practices from Code Review Comments CodeLingo Bot 2019-02-05 05:51:37 +0000
  • b9393974d8 Add missing call to initWF.Done() Nicolas Martin 2019-01-03 15:31:09 +0100
  • b65e85de8a
    Fix indentation of yamlStringSettings example. Tomas Dohnalek 2019-01-29 08:53:00 +0100
  • 2cb5cbf43c Add viper.SetKeysCaseSensitive() to disable automatic key lowercasing. Kailash Nadh 2019-01-25 12:23:27 +0530
  • 366b049c1d modify comment and log print yanyandenuonuo 2019-01-29 15:18:47 +0800
  • 1591fbedbf Only try to read configuration from regular files Tom Payne 2018-11-23 11:51:55 +0100
  • 88bae4eb55
    Merge 7ba32f6a08 into d104d259b3 Andrey Odintsov 2019-01-27 23:43:13 +0000
  • 770776ffa9
    Change assertion to see the error message Mark Sagi-Kazar 2018-11-19 13:51:42 +0100
  • d77e7a7fbf
    Add string replacer interface Mark Sagi-Kazar 2019-01-04 23:17:38 +0100
  • b267a43b23
    Add int slice test to unmarshal Mark Sagi-Kazar 2019-01-27 03:26:12 +0100
  • b52b215be2
    Add support for int slice flags Mark Sagi-Kazar 2019-01-27 03:23:33 +0100
  • d104d259b3 Update go.sum with go1.11.4 Mark Sagi-Kazar 2019-01-25 10:00:48 +0100
  • 9f343fef15
    Update go.sum with go1.11.4 Mark Sagi-Kazar 2019-01-25 10:00:48 +0100
  • e1232d2990 Added setter for strategies used. Thomas Miller 2019-01-22 14:00:35 +1300
  • 5a972e97cf New merge strategy feature Thomas Miller 2019-01-22 12:09:18 +1300
  • 08ec44ed04
    Fix indentation for yamlStringSettings Pawan Rawal 2019-01-08 11:29:58 +1100
  • 9f79234f5e Viper commit laxmanvallandas 2019-01-05 14:11:24 +0530
  • 3a0ea76e70 Fix function AllowEmptyEnv name in documentation Stephen Ford 2019-01-02 09:54:50 +0000
  • e59ebc4c2d fix test bug yanyandenuonuo 2018-12-28 18:10:25 +0800
  • e270d7d00f add test for unregister alias yanyandenuonuo 2018-12-28 17:49:07 +0800
  • 3421df1f9b support unregister alias yanyandenuonuo 2018-12-28 17:41:52 +0800
  • 6d33b5a963
    Make the map in MergeConfigMap case insensitive v1.3.1 Bjørn Erik Pedersen 2018-12-07 11:02:11 +0100
  • 4e5ee5cc58
    Update README.md Alpha 2018-12-06 10:52:08 +0800
  • 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 +0100
  • 3535c75fa8 Add MergeConfigMap Bjørn Erik Pedersen 2018-12-05 15:19:25 +0100
  • 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 +0100
  • 3b6e7e5485
    Add MergeConfigMap Bjørn Erik Pedersen 2018-12-05 15:19:25 +0100
  • 9eb20cae37
    ADD: installation method Alpha 2018-12-05 16:27:23 +0800
  • 0353dfce59 Adds support for merging slices Thomas Miller 2018-11-27 09:32:28 +1000
  • 7ba32f6a08 Merge remote-tracking branch 'origin/master' Andrey Odintsov 2018-11-26 12:50:49 +0300
  • b534337da7 Merge branch 'concurrent-support' Andrey Odintsov 2018-11-26 12:50:28 +0300
  • 3a3fad7b69
    Update go.mod Andrey Odintsov 2018-11-26 12:25:03 +0300
  • 319b0fc627 Resolved merge conflicts in viper.go Andrey Odintsov 2018-11-26 12:16:57 +0300
  • e2a134a768
    Remove AllowEmptyEnvVar from documentation Renann Prado 2018-11-23 23:19:49 +0100
  • 06c7c0d9b3
    Use assert.EqualValues for slice checking Bjørn Erik Pedersen 2018-11-19 10:38:40 +0100
  • da44dc1a84 reword casept 2018-11-19 08:27:41 +0000
  • e6b430f29c Fix failing TestBindPFlagsStringSlice Albert Salim 2018-11-15 22:50:43 +0800
  • 1b236c9599
    Fix failing TestBindPFlagsStringSlice Dr. Tobias Quathamer 2018-11-15 10:27:52 +0100
  • e71af1ee61 weird xordataexchange/crypt dependency problem, trying to find code.google.com. do not build with -a willdrug 2018-11-08 16:44:33 +0300
  • ae103d7e59 Moved shared resources out of the loops in TestBindPFlagsStringSlice() Benoit Masson 2017-04-17 18:52:44 +0200
  • 69647fb422 Fixed TestBindPFlagsStringSlice() Benoit Masson 2017-04-17 18:52:25 +0200
  • cc7e906d88 Updated TestBindPFlagsStringSlice() to highlight a failure Benoit Masson 2017-04-17 18:33:30 +0200
  • 13b1becc90
    added a setting to make viper case sensitive Emil Nikolov 2018-11-07 03:06:30 +0100
  • d1760f092a Merge branch 'master' of https://github.com/useafterfree/viper into GetStringEnv Nathan Trujillo 2018-11-06 15:26:22 -0800
  • 98e3faa0ad implement os.ExpandEnv, and augment test to meet both forms it supports Nathan Trujillo 2018-11-06 14:34:04 -0800
  • b7a3b95476 Lookup environment variables instead of checking if the value is empty Márk Sági-Kazár 2018-11-06 22:53:21 +0100
  • 4f59047658
    Add AllowEmptyEnv method to preserve backard compatibility Mark Sagi-Kazar 2018-11-06 20:20:07 +0100
  • c66462282e Added opts to DecoderConfigOption Neven Miculinic 2018-11-06 12:05:02 +0100
  • 1f9c701ead Added SetDefaults (multiple) func accepting map[string]interface{}. willdrug 2018-11-02 16:20:46 +0300
  • 649c95a3fa Improve documentation of Unmarshaling Wenbin Zhang 2018-10-31 23:25:49 -0700
  • fd8ee01d89
    fix indentation of marshalling code sample Adrian Lanzafame 2018-10-26 17:05:42 +1000
  • 8f88ea76a6
    Fixed unmarshalReader not returning error when the input io.Reader returns an error Thulio Assis 2018-10-19 13:47:18 -0700
  • fea57bb522
    Merge pull request #1 from useafterfree/GetStringEnv Nathan Trujillo 2018-10-18 14:31:01 -0700
  • d09390e250 Add method GetStringEnv which will interpolate values which look like environmental variables and return them; Nathan Trujillo 2018-10-17 18:35:50 -0700
  • 4317f4793e remove github.com/magiconair/properties victor 2018-10-15 14:41:40 +0800
  • ce95343c2f remove all remote code and providers except json victor 2018-10-15 11:07:15 +0800
  • c3ab84f775 Implement CancelWatchConfig which allows one to turn off the watcher Daniel Einspanjer 2018-10-10 14:05:22 -0400
  • 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 -0400
  • a9236e1fbf SetEnvKeyReplacer(): replace concrete type "strings.Replacer" with its interface PROger4ever 2018-10-05 12:37:22 +0500
  • a4ecf81802
    Merge b3807f4150 into 62edee3196 Umair Idris 2018-10-04 20:49:18 +0000
  • b3807f4150
    Fix code formatting in README Umair Idris 2018-10-04 16:48:36 -0400
  • e08e06405f Implements #572 - viper.Require Albert Salim 2018-10-04 17:46:28 +0800
  • f5346596bf fixed typeSwitchVar warnings Veselkov Konstantin 2018-09-30 23:26:14 +0400
  • 62edee3196
    Revert "Cater for case-sensitive dependencies (#463)" Andrew Stuart 2018-09-29 21:41:27 -0700
  • b56071875a Cater for case-sensitive dependencies (#463) Panagiotis Moustafellos 2018-09-30 06:32:38 +0300