mirror of
https://github.com/spf13/viper
synced 2024-12-22 11:37:02 +00:00
Commit graph
Select branches
Hide pull requests
adr
bugfix/watch-nil-pointer
dependabot/go_modules/github.com/spf13/cast-1.7.1
encoding
master
mergefix/Issue284_Kubernetes_config
partial-revert-1387
revert-313-master
update-crypt
v1.18.x
#10
#10
#1002
#1005
#1015
#1020
#1027
#103
#103
#1034
#1040
#1041
#1041
#1043
#1049
#1053
#1056
#1063
#1064
#1066
#107
#1075
#108
#108
#1081
#1090
#1093
#1099
#1100
#1103
#1103
#111
#111
#1111
#1112
#1113
#1114
#1115
#1121
#1125
#1128
#1128
#1129
#1133
#1135
#114
#114
#1145
#1147
#1154
#1156
#1157
#1160
#1164
#1165
#1166
#1167
#1171
#1171
#1174
#1175
#1175
#1178
#118
#118
#1180
#1180
#1181
#1187
#1189
#1192
#1195
#1198
#1199
#120
#120
#1204
#1207
#1208
#1209
#121
#121
#1212
#1213
#1216
#1217
#1218
#1219
#122
#122
#1220
#1222
#1225
#1226
#1227
#1228
#1229
#123
#123
#1230
#1233
#1235
#1237
#1237
#124
#1240
#1242
#1244
#1244
#1247
#1248
#1249
#1250
#1252
#1253
#1254
#1255
#1260
#1261
#1263
#1264
#1265
#1269
#1271
#1273
#1274
#1275
#128
#128
#1281
#1287
#1291
#1293
#1295
#1299
#13
#130
#130
#1300
#1301
#1302
#1304
#1307
#1307
#1311
#1315
#1315
#1316
#1316
#1319
#132
#132
#1320
#1321
#1321
#1322
#1323
#1325
#1326
#1327
#133
#133
#1331
#1332
#1334
#1335
#1336
#1337
#1337
#1338
#1339
#134
#134
#1341
#1343
#1344
#1346
#1349
#135
#135
#1352
#1352
#1353
#1356
#1357
#1358
#1360
#1361
#1367
#1368
#1369
#137
#137
#1371
#1372
#1373
#1374
#1375
#1378
#1379
#138
#1381
#1383
#1384
#1387
#1389
#139
#139
#1393
#1395
#1396
#1397
#1397
#1401
#1403
#1405
#1406
#1407
#1407
#1412
#1414
#1417
#1420
#1422
#1424
#1428
#1429
#143
#143
#1430
#1433
#1435
#1437
#1439
#1439
#144
#144
#1440
#1443
#1443
#1449
#1452
#1453
#1456
#1456
#1457
#1458
#146
#1460
#1461
#1462
#1464
#1465
#1466
#1467
#147
#1475
#1478
#1481
#1482
#1483
#1485
#1488
#149
#1490
#1493
#1494
#1498
#15
#15
#1504
#1504
#1506
#1508
#1512
#1515
#1516
#1518
#1519
#152
#152
#1521
#1523
#1526
#153
#153
#1532
#1533
#1538
#1538
#154
#154
#1540
#1540
#1541
#1541
#1544
#155
#155
#1550
#1551
#1552
#1553
#1555
#1556
#1557
#1558
#156
#156
#1561
#1563
#1565
#1567
#157
#1572
#1573
#1574
#1575
#1577
#1577
#1581
#1582
#1583
#1583
#1584
#1585
#1586
#1589
#1590
#1592
#1593
#1594
#1595
#1599
#16
#16
#1603
#1604
#1605
#1609
#161
#1610
#1613
#1614
#1615
#1616
#1617
#1617
#1619
#1620
#1621
#1622
#1623
#1624
#1625
#1626
#1627
#1628
#1629
#1629
#163
#163
#1630
#1631
#1632
#1633
#1633
#1634
#1635
#1635
#1638
#164
#164
#1640
#1641
#1642
#1643
#1644
#1646
#1647
#1648
#165
#165
#1650
#1651
#1652
#1654
#1656
#1657
#1658
#1659
#166
#166
#1660
#1661
#1663
#1664
#1666
#1668
#1669
#1670
#1672
#1673
#1673
#1674
#1676
#1678
#1679
#1680
#1684
#1685
#1686
#1687
#1688
#1689
#169
#169
#1690
#1691
#1692
#1693
#1694
#1696
#1698
#1699
#17
#1701
#1703
#1704
#1705
#1707
#1711
#1712
#1713
#1715
#1718
#1718
#1719
#1719
#1720
#1722
#1723
#1725
#1725
#1726
#1731
#1733
#1733
#1734
#1735
#1735
#1737
#1738
#1739
#1740
#1740
#1742
#1743
#1747
#1747
#1750
#1750
#1751
#1753
#1753
#1754
#1754
#1757
#1758
#1759
#1760
#1761
#1762
#1763
#1765
#1767
#1768
#1770
#1774
#1775
#1776
#1778
#178
#178
#1780
#1781
#1782
#1785
#1785
#1786
#1787
#1788
#1789
#1790
#1791
#1793
#1794
#1796
#18
#1801
#1801
#1802
#1803
#1803
#1804
#1805
#1806
#1807
#1808
#1811
#1812
#1812
#1813
#1815
#1816
#1817
#1818
#1819
#182
#1821
#1822
#1824
#1825
#1826
#1828
#1829
#1830
#1831
#1832
#1833
#1834
#1835
#1836
#1837
#184
#184
#1840
#1840
#1842
#1844
#1846
#1847
#1848
#1849
#1850
#1852
#1853
#1854
#1856
#1857
#1860
#1861
#1862
#1863
#1864
#1865
#1866
#1867
#1869
#187
#187
#1870
#1871
#1872
#1874
#1874
#1875
#1875
#1876
#1878
#1879
#1880
#1881
#1883
#1884
#1885
#1887
#1888
#1889
#1890
#1891
#1893
#1894
#1897
#1899
#1901
#1903
#1905
#1906
#1908
#1909
#1910
#1911
#1913
#1914
#1915
#1916
#1919
#1920
#1921
#1923
#1924
#1925
#1926
#1928
#1929
#193
#1930
#1932
#1936
#1937
#1938
#1939
#1940
#1941
#1942
#1943
#1944
#1946
#1948
#1949
#195
#1950
#1952
#1953
#1954
#1955
#1956
#1956
#1957
#1958
#1959
#1960
#1964
#1965
#1965
#1968
#1968
#198
#199
#2
#2
#20
#201
#201
#205
#206
#207
#208
#208
#21
#211
#214
#217
#219
#219
#220
#220
#221
#221
#224
#224
#227
#228
#228
#229
#230
#231
#231
#232
#232
#235
#235
#238
#240
#243
#244
#244
#247
#248
#25
#25
#250
#251
#253
#254
#255
#256
#26
#26
#262
#264
#265
#265
#267
#267
#27
#27
#271
#272
#272
#277
#280
#280
#283
#283
#285
#286
#286
#287
#294
#296
#299
#30
#30
#303
#308
#308
#310
#313
#318
#318
#319
#320
#321
#325
#325
#329
#330
#330
#331
#332
#332
#333
#335
#335
#340
#342
#342
#344
#344
#345
#350
#351
#354
#355
#355
#357
#357
#358
#359
#360
#360
#361
#361
#362
#37
#370
#38
#381
#381
#382
#382
#383
#387
#387
#389
#39
#395
#395
#396
#398
#399
#4
#4
#40
#40
#402
#403
#405
#414
#415
#421
#425
#425
#428
#428
#429
#429
#43
#435
#436
#437
#437
#439
#44
#44
#440
#441
#444
#449
#45
#45
#450
#452
#452
#454
#454
#456
#456
#463
#465
#465
#468
#468
#47
#47
#470
#471
#476
#476
#477
#477
#478
#479
#48
#483
#483
#484
#487
#487
#489
#49
#49
#494
#495
#497
#497
#500
#500
#503
#503
#508
#508
#509
#509
#51
#51
#512
#515
#515
#516
#517
#519
#519
#521
#528
#53
#530
#530
#531
#532
#533
#533
#535
#535
#54
#54
#541
#541
#543
#545
#545
#546
#546
#547
#547
#55
#55
#550
#550
#551
#551
#552
#553
#555
#556
#558
#56
#564
#566
#566
#568
#57
#57
#571
#573
#574
#574
#575
#577
#577
#581
#581
#582
#582
#585
#585
#589
#590
#591
#592
#596
#598
#60
#601
#602
#603
#604
#606
#614
#614
#618
#62
#621
#621
#623
#624
#625
#628
#63
#63
#634
#635
#636
#637
#638
#639
#64
#642
#645
#647
#648
#649
#65
#651
#652
#655
#656
#657
#66
#66
#663
#664
#665
#666
#667
#669
#672
#673
#674
#675
#676
#681
#682
#684
#684
#686
#690
#690
#693
#698
#7
#7
#701
#705
#706
#710
#713
#719
#72
#720
#721
#722
#723
#724
#729
#731
#735
#736
#737
#74
#74
#743
#743
#749
#750
#753
#754
#755
#756
#758
#76
#76
#760
#760
#763
#766
#768
#77
#77
#771
#773
#776
#778
#779
#78
#78
#780
#780
#785
#79
#79
#793
#793
#794
#795
#803
#804
#805
#806
#807
#808
#809
#81
#810
#811
#813
#823
#826
#827
#833
#834
#835
#836
#837
#837
#838
#84
#84
#845
#845
#847
#848
#849
#852
#852
#854
#86
#86
#860
#860
#861
#863
#863
#864
#864
#866
#866
#868
#870
#870
#874
#88
#88
#885
#891
#891
#893
#897
#899
#9
#9
#901
#907
#908
#908
#913
#916
#917
#917
#918
#918
#92
#92
#923
#924
#924
#934
#936
#936
#94
#94
#940
#945
#946
#949
#95
#95
#957
#958
#96
#96
#961
#964
#97
#97
#970
#972
#976
#978
#979
#979
#98
#98
#982
#982
#983
#983
#984
#986
#988
#989
#989
#99
#99
#993
#995
#996
#998
remote/v1.20.0-alpha.1
remote/v1.20.0-alpha.2
remote/v1.20.0-alpha.3
remote/v1.20.0-alpha.4
remote/v1.20.0-alpha.5
remote/v1.20.0-alpha.6
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.1.0
v1.1.1
v1.10.0
v1.10.1
v1.11.0
v1.12.0
v1.13.0
v1.14.0
v1.15.0
v1.16.0
v1.17.0
v1.18.0
v1.18.1
v1.18.2
v1.19.0
v1.2.0
v1.2.1
v1.20.0-alpha.1
v1.20.0-alpha.2
v1.20.0-alpha.3
v1.20.0-alpha.4
v1.20.0-alpha.5
v1.20.0-alpha.6
v1.3.0
v1.3.1
v1.3.2
v1.4.0
v1.5.0
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.7.0
v1.7.1
v1.8.0
v1.8.1
v1.9.0
-
249c63d906
Add dot in BindPFlag comment
bogem
2016-07-14 23:37:09 +0500 -
4dfe66192f
2016-07-13 20:19:07 +0800 -
aebf0fcdc5
Issue-105 Add time.Duration in TestUnmarshal
Yauhen Lazurkin
2016-07-09 16:04:14 +0300 -
e38b8a3bb3
Issue-105 Support time.Duration in viper.Unmarshal
Yauhen Lazurkin
2016-07-09 15:37:52 +0300 -
9988dd7738
switch to pelletier/go-toml
Chao Xu
2016-06-15 14:18:38 -0700 -
3baf1aeb9e
Changing config name should also reset file name cache
Roland Schilter
2016-06-08 16:05:26 +0200 -
7822eb6fbc
Initial add of zookeeper remote
Jimmy Tang
2016-06-07 21:13:14 +0100 -
c1ccc378a0
Test on both Linux and OSX
Bjørn Erik Pedersen
2016-06-06 00:03:07 +0200 -
e5a7c9d385
Add support for Afero filesystems
Matthieu Grieger
2016-06-01 20:42:35 -0700 -
eb33902d94
Updated getKeyValueConfig to allow multiple config files from the same remote vendor
Reza Shahbazi
2016-05-16 12:22:06 -0700 -
442af302ff
Fix
Sub
to work with mixed-case subtrees Justin Tulloss2016-05-08 18:33:56 -0700 -
d8a428b8a3
Bump Travis to 1.6.2
Bjørn Erik Pedersen
2016-05-08 20:07:13 +0200 -
960e69f7c4
Allow tip to fail on Travis
Bjørn Erik Pedersen
2016-05-08 14:34:24 +0200 -
a0cdbddebd
Remove kr/pretty dependency
Bjørn Erik Pedersen
2016-05-08 13:12:02 +0200 -
ce98f92b04
Fixed panic in AddConfigPath
Andrew Po
2016-05-04 18:01:25 +0300 -
f904a17905
Update Travis config to Go 1.4.3, 1.5.4 and 1.6.1
Anthony Fok
2016-04-21 06:40:14 +0800 -
bbfa13f5e7
Merge
06cf89abd0
into8e57fea7a8
Tony Narlock2016-04-20 14:30:56 +0000 -
8e57fea7a8
Update import path of fsnotify
Anthony Fok
2016-04-20 21:51:22 +0800 -
4737356376
Merge
2715727d1f
into45b73b72ad
g3rk62016-04-20 13:45:24 +0000 -
45b73b72ad
Fix typo
Tony Narlock
2016-03-07 02:07:42 -0600 -
e2a9ac4231
2016-04-15 13:49:45 +0100 -
b42d870a30
enhance(remote): one RemoteProvider support multiple addresses
lysu
2016-03-09 00:50:34 +0800 -
06cf89abd0
Typo
Tony Narlock
2016-03-07 02:07:42 -0600 -
03d0bb47ee
Prevent shadowning of keys when a nested key's value is nil.
Alex Bice
2016-03-04 19:09:45 -0700 -
8050885396
Merge
23ffa6a2ea
intoc975dc1b4e
Charles Phillips2016-03-02 23:52:17 +0000 -
23ffa6a2ea
flatten defaults to ensure all env vars are loaded; expand flat settings to ensure override precedence in merge
Charles Phillips
2016-03-02 15:27:21 -0800 -
8b2b4b8675
Replace "." characters with "_" when parsing environment variables
Joe Buck
2016-02-18 21:48:15 -0800 -
e8036e1a24
Add test for parsing nested keys from environment variables
Joe Buck
2016-02-18 21:27:02 -0800 -
13a79f2a27
Add a field to the JSON test data
Joe Buck
2016-02-18 21:24:56 -0800 -
c975dc1b4e
implementing a weak decode wrapper called UnmarshalExact that errors on non existant fields in the destination struct
dsp
2015-12-29 23:11:39 -0700 -
d3fc5f547c
Allow errors to propagate from getConfigFile().
Jonathan Anderson
2016-02-08 16:13:08 -0330 -
dd66c894de
Populate readme with viper based apps
Steve Francia
2016-02-08 17:01:43 -0500 -
0b724557fb
Merge
cbfa4ca97e
intoe072d51737
seantao2016-02-08 20:52:53 +0000 -
a16da44748
Merge
a53b9f1829
intoe072d51737
Marcin Stanislawski2016-02-08 20:52:33 +0000 -
e072d51737
use aliases in all keys list to enable proper Unmarshaling
Marcin Stanisławski
2016-01-20 22:15:43 +0100 -
30ce444d04
Update README with info about supporting Java properties files
ryanwalls
2016-01-30 11:44:53 -0700 -
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
andSetDefault
Alexandre Bourget2016-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
into110492b300
Schley Andrew Kutz2015-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
intoc8c6312ace
David Calavera2015-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
into79971f1ae7
Schley Andrew Kutz2015-12-15 20:36:41 +0000 -
a52d8a4949
Merge
fc04ee8c80
into79971f1ae7
Patrick D2015-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
into5c53af5e4f
ziffusion2015-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
into87d443c19b
HuKeping2015-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
intoe3bc06f20c
Schley Andrew Kutz2015-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
intoce08532bfd
Jonathan Boulle2015-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
intoc374c6d0a9
Schley Andrew Kutz2015-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
intoa7ef020a9a
Vlad Didenko2015-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
into87b94ba486
James Sweet2015-11-05 00:36:02 +0000 -
53bed82c93
Merge
f927b1795c
into87b94ba486
Vlad Didenko2015-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