mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +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
-
a1b8372762
2018-09-28 00:53:21 -0700 -
f69c91abd3
2018-09-28 00:53:21 -0700 -
8e194e8ad2
2018-09-28 01:05:04 -0700 -
0d783e7344
2018-09-28 01:04:19 -0700 -
159de3698a
8c544d5674
into2c12c60302
Julien Kauffmann2018-09-28 07:54:53 +0000 -
2c12c60302
2018-09-28 00:53:21 -0700 -
a8d2f21f14
2018-09-27 23:34:43 -0700 -
ca33b081ee
Add sub Viper instance List
zufar
2018-09-17 12:25:42 +0300 -
98d51522b2
stringarray pulls directly from pflag
Patrick Dufour
2018-09-15 12:32:22 -0400 -
3171ef9a22
2018-09-07 15:06:02 +0200 -
841bd4ebcd
2018-09-07 11:52:15 +0200 -
8fb6420065
2018-09-07 11:30:55 +0200 -
50dca2803b
Added tests for deep nested array values
Ricardo Souza
2018-09-03 10:36:18 -0300 -
0ac2068de9
Fix overflow error on 32 bit architectures (#340)
Dr. Tobias Quathamer
2018-09-01 22:59:01 +0200 -
e82a186fc0
Remove tests which result in an overflow error on 32 bit architectures
Dr. Tobias Quathamer
2017-04-26 22:23:01 +0200 -
4cfb3a9245
Handle int64 separately for 32 bit architectures
Dr. Tobias Quathamer
2018-09-01 22:43:37 +0200 -
8addaed22d
Add README.md for Consul remote provider (#489)
Adhatama
2018-08-29 05:05:06 +0700 -
05116ad639
Revert "fix dep wrong case (#484)"
Aarti Parikh
2018-08-28 02:34:36 -0600 -
b7a62b2c00
fix dep wrong case (#484)
kun
2018-08-28 15:37:55 +0800 -
e436d04e6d
correct a comment on viper.Set() (#553)
Robin Brämer
2018-08-28 09:29:26 +0200 -
40b1bbb9a8
travis: update go versions (#558)
Michael
2018-08-28 07:08:14 +0000 -
8149102a88
travis: update go versions
Michael Käufl
2018-08-25 17:12:31 +0200 -
4f738d6f3f
insensitivise slices of maps when reading from config file
cmohrb
2018-08-22 11:28:42 +0200 -
8e90aaafac
add method subSlice to get an array/table/list of config options as slice of "sub-vipers"
cmohrb
2018-08-21 18:23:30 +0200 -
a641c3b4e7
Added test for index notation in keys
Ricardo Souza
2018-08-17 21:11:21 -0300 -
02aa8552a1
Added support for parsing keys with index notation (eg.: "prop[0].sub-prop")
Ricardo Souza
2018-08-17 21:10:50 -0300 -
b087978410
Adding a method to merge config in the override section
Maxime Mouial
2018-08-16 12:42:16 -0400 -
47c13064e7
2018-08-13 13:06:23 +0200 -
2f85719c3f
Fix example code
okazu-dm
2018-08-12 13:35:30 +0900 -
6532c4a9b9
d1bdae2e98
into907c19d40d
M@2018-08-07 11:18:09 +0000 -
d1bdae2e98
Merge branch 'add-intslice' of https://github.com/cognusion/viper into add-intslice
M
2018-08-07 07:17:54 -0400 -
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
a0ade1f92b
intod493c32b69
Daniel Einspanjer2018-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
a13717d966
intod493c32b69
lnashier2018-07-30 20:59:14 +0000 -
c5ac5be5de
a13717d966
intod493c32b69
lnashier2018-07-30 19:28:37 +0000 -
a13717d966
remove case insensitive methods
lnashier
2018-07-30 12:27:35 -0700 -
d8556d31d7
74d425cf73
intod493c32b69
lnashier2018-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 -
6367345ef9
10f9aca639
intod493c32b69
Anton Prokhorov2018-07-13 14:34:21 +0000 -
0fdac11054
65e8f0b086
intod493c32b69
cmohrb2018-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
2018-07-10 12:30:24 +0100 -
4d0f6f5c54
Add example of marshalling to string
Brice Fernandes
2018-07-09 20:19:49 +0100 -
d1c88647e1
59bd5de384
into15738813a0
Brice Fernandes2018-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 mexisme2018-07-09 21:22:12 +1200 -
df725f4cdc
2018-06-28 10:55:33 +0100 -
8c544d5674
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
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
fb72938b55
into15738813a0
satotake2018-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
9ed185bc8f
into15738813a0
vasu11242018-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
2018-04-09 15:30:19 -0700