mirror of
https://github.com/spf13/viper
synced 2025-05-06 12:17:18 +00:00
Commit graph
Select branches
Hide pull requests
adr
bugfix/watch-nil-pointer
dependabot/go_modules/github.com/fsnotify/fsnotify-1.9.0
dependabot/go_modules/github.com/pelletier/go-toml/v2-2.2.4
dependabot/go_modules/github.com/sagikazarmark/locafero-0.9.0
dependabot/go_modules/github.com/spf13/cast-1.8.0
dependabot/go_modules/remote/golang.org/x/net-0.38.0
encoding
go124
master
mergefix/Issue284_Kubernetes_config
partial-revert-1387
revert-313-master
update-crypt
update-dependencies
update-instructions
v1.18.x
v1.20.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
#1316
#1316
#1319
#132
#132
#1320
#1321
#1321
#1322
#1323
#1325
#1326
#1327
#133
#133
#1331
#1332
#1334
#1335
#1336
#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
#1968
#1973
#1979
#198
#1982
#1983
#1987
#1987
#1989
#199
#1990
#1990
#1991
#1992
#1993
#1995
#1996
#2
#2
#20
#2003
#2004
#2005
#2007
#2008
#2008
#201
#201
#2010
#2010
#2012
#2012
#2013
#2013
#2014
#2014
#2015
#2015
#2016
#2016
#2017
#2017
#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
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
remote/v1.20.1
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
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.20.1
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
-
afca17a005
additions to make viper goroutine save for some actions
Andrey Odintsov
2018-07-27 13:37:05 +03:00 -
e8b4ff02fe
Fixed missing f.Close() in writeConfig()
bpizzi
2018-07-27 10:10:14 +02:00 -
bab97b4ec3
Add a note in the README.md for usage of CancelWatchConfig()
Daniel Einspanjer
2018-07-25 09:34:48 -04:00 -
981de21183
Issue #539 - Add viper.CancelWatchConfig()
Daniel Einspanjer
2018-07-25 09:23:24 -04:00 -
32aa319187
if config type is already set, ignore file extension and use the saved config type
cmohrb
2018-07-13 15:55:31 +02:00 -
6367345ef9
10f9aca639
intod493c32b69
Anton Prokhorov
2018-07-13 14:34:21 +00:00 -
0fdac11054
65e8f0b086
intod493c32b69
cmohrb
2018-07-13 14:28:44 +00:00 -
65e8f0b086
if config type is already set, ignore file extension and use the saved config type
Christian Mohrbacher
2018-07-13 15:55:31 +02:00 -
c1250e5dd7
apply review comments
Xavier Coulon
2018-07-13 10:30:23 +02:00 -
3f71ac11c6
use export GetConfigFile
liujianping
2018-07-12 11:21:39 +08:00 -
3092f8771d
export GetConfigFile function, very useful for extending viper
liujianping
2018-07-12 11:17:21 +08:00 -
d493c32b69
Update README.md (#470)
Adriano
2018-07-10 08:30:20 -04:00 -
fb7a06477f
Brice Fernandes
2018-07-10 12:30:24 +01:00 -
4d0f6f5c54
Add example of marshalling to string
Brice Fernandes
2018-07-09 20:19:49 +01:00 -
d1c88647e1
59bd5de384
into15738813a0
Brice Fernandes
2018-07-09 17:49:58 +00:00 -
59bd5de384
Update invocations
Brice Fernandes
2018-07-09 18:49:46 +01:00 -
88c1d9fbd9
Expose MarshalWriter publicly
Brice Fernandes
2018-07-09 18:41:40 +01:00 -
481f31456a
Missing "dotenv" from SupportedExtns
mexisme
2018-07-09 21:26:51 +12:00 -
94d1c0a6ee
Support
.env
format filesmexisme
2018-07-09 21:22:12 +12:00 -
df725f4cdc
Chris Reeves
2018-06-28 10:55:33 +01:00 -
8c544d5674
Julien Kauffmann
2018-06-27 07:50:21 -04:00 -
7e20eda4ff
add GetUint/GetUint32/GetUint64
smoreg
2018-06-21 22:27:44 +03:00 -
f1c29ce273
Allow environment variables to be set to empty string
Harrison Healey
2018-06-20 14:31:47 -04:00 -
630d0d3b29
chore(viper): gofmt
Afshin Mehrabani
2018-06-16 16:01:05 +01:00 -
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 +01:00 -
f4646eef68
Add global UnmarshalExact method
Gregory Haynes
2018-06-08 20:32:49 +00:00 -
4ff42e3b4b
add comment
yangheng
2018-06-06 15:07:10 +08:00 -
0648a0fafe
remove
yangheng
2018-06-06 15:03:55 +08:00 -
81806461a8
add sub viper list
yangheng
2018-06-06 15:00:40 +08:00 -
ef0f429f98
Trailing space
Lucas Vogelsang
2018-06-02 13:08:20 +00:00 -
4d7e75d1a0
Lucas Vogelsang
2018-06-02 08:57:57 -04:00 -
aa2bb3a537
Create getDefaultConfigFile() test
koooge
2018-05-24 18:05:24 +00:00 -
c21acdd422
Use defaultConfigFile if configFile is not exist
koooge
2018-05-23 18:01:59 +00:00 -
242f4890f5
Refactor with WaitGroup and check channel is open
Xavier Coulon
2018-05-24 10:09:29 +02:00 -
52aa246076
fb72938b55
into15738813a0
satotake
2018-05-18 02:58:16 +00:00 -
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 +03:00 -
a70902f83c
get rid of debugging to pass test
John Adams
2018-05-14 17:54:47 -07:00 -
bd2a8eace3
cleanup formatting to pass tests
John Adams
2018-05-14 14:37:53 -07:00 -
146fa552dd
minor comment typo fix
John Adams
2018-05-14 14:31:51 -07:00 -
5197566d20
format cleanup
John Adams
2018-05-14 11:46:15 -07:00 -
33dd3593c9
fork and merge in my chnages to support vault
John Adams
2018-05-14 11:39:27 -07:00 -
19069ff9a7
9ed185bc8f
into15738813a0
vasu1124
2018-05-14 16:51:23 +00:00 -
15738813a0
Add GetInt32
Travis Jeffery
2018-05-05 21:38:06 -04:00 -
93604a6ba5
Fix environment variable expansion in absPathify
João Abecasis
2018-05-07 01:26:35 +02:00 -
67e97e6c5c
Add GetInt32
Travis Jeffery
2018-05-05 21:38:06 -04:00 -
8b8d9d821c
Add README.md for Consul remote provider
Adhatama
2018-04-24 22:53:03 +07:00 -
d80342619e
cloudconfig: bringing updated viper
laxman vallandas
2018-04-24 17:50:46 +05:30 -
84f2946712
viper patch to support cloudconfig lib
laxman vallandas
2018-04-24 17:47:31 +05:30 -
e5459cc690
Change implementation of find sub-tree to work with deep trees
Harley Laue
2018-04-23 14:27:51 -07:00 -
b7a4909ef7
Allow getting Sub from a prefix of pflags key(s)
Harley Laue
2018-04-23 11:06:26 -07:00 -
a7a5948b15
Check for nil before binding pflag(s)
Harley Laue
2018-04-23 10:24:03 -07:00 -
be985b07ea
fix dep wrong case
kun
2018-04-19 17:34:10 +08:00 -
74d425cf73
lnashier
2018-04-09 15:30:19 -07:00 -
6e8660e5da
a5650e80e9
into8dc2790b02
wsnani
2018-04-09 22:24:12 +00:00 -
a5650e80e9
remove insensitive methods
swu1
2018-04-09 14:56:51 -07:00 -
97befb3142
68a8b52d7b
into8dc2790b02
laxmanvallandas
2018-04-08 04:44:33 +00:00 -
4f5003aa93
Added viper.EnvSettings method
Harrison Healey
2018-04-05 11:09:14 -04:00 -
8dc2790b02
travis: update go versions
Michael Käufl
2018-03-22 08:00:28 +01:00 -
bf0a06a71c
Dan Rollo
2018-04-04 10:16:52 -04:00 -
c354f54ddd
b8db2cc5ba
intob5e8006cbe
Stewart
2018-04-03 10:02:51 +00:00 -
b8db2cc5ba
Getting case error when trying to import the module with vgo;
Stewart Mbofana
2018-04-03 12:01:56 +02:00 -
7b01606243
Removes superfluous block for intSlice, and appends to stringSlice instead
M
2018-04-02 13:37:57 -04:00 -
bd294940f9
Handles the case of merging pflag intSlices
M
2018-04-02 13:30:26 -04:00 -
1d33b640d9
Adds Getter and related code for IntSlices
M
2018-04-02 12:49:05 -04:00 -
e75b304334
travis: update go versions
Michael Käufl
2018-03-22 08:00:28 +01:00 -
b83017d211
Adriano
2018-03-20 11:58:48 -04:00 -
b5e8006cbe
Bjørn Erik Pedersen
2018-03-19 19:50:19 +01:00 -
00ed41cdba
Bjørn Erik Pedersen
2018-03-19 19:12:24 +01:00 -
0a8c192870
Update Godoc for function GetConfigFilePath to meet Godocs approach to documentation
Fabian Knorr
2018-02-27 21:24:08 +01:00 -
90504899c7
Moved shared resources out of the loops in TestBindPFlagsStringSlice()
Benoit Masson
2017-04-17 18:52:44 +02:00 -
2a65a6683e
Fixed TestBindPFlagsStringSlice()
Benoit Masson
2017-04-17 18:52:25 +02:00 -
148386d3bb
Updated TestBindPFlagsStringSlice() to highlight a failure
Benoit Masson
2017-04-17 18:33:30 +02:00 -
11000c7503
9bbdff2bf1
intoaafc9e6bc7
Sam Whited
2018-02-23 21:34:06 +00:00 -
9bbdff2bf1
Fix incorrect import casing
Sam Whited
2018-02-23 15:21:41 -06:00 -
500b8946d7
Panagiotis Moustafellos
2018-02-21 16:28:35 +02:00 -
e252e1cc54
Bugfix: simplifying GetConfigFilePath() led to compile error
Fabian Knorr
2018-02-10 16:03:06 +01:00 -
d18964fe22
gofmt -d .
RavenZZ
2018-02-09 10:31:29 +08:00 -
5b910a626d
Merge branches 'master' and 'master' of github.com:RavenZZ/viper
RavenZZ
2018-02-09 10:21:49 +08:00 -
047b2100ff
fix go imports sort
RavenZZ
2018-02-09 10:21:38 +08:00 -
cb86dfebca
Raven
2018-02-08 20:01:17 -06:00 -
18f781b94a
WatchRemoteConfigOnChannel
RavenZZ
2018-02-08 16:54:56 +08:00 -
b6a7a50b2f
Doc for GetConfigFilePath() now precedes the function
Fabian Knorr
2018-02-06 20:15:27 +01:00 -
e867180379
Simplifed function GetConfigFilePath()
Fabian Knorr
2018-02-06 20:14:04 +01:00 -
48307d640f
New func GetConfigFilePath() which returns the path where Viper actually found the logfile
Fabian Knorr
2018-02-05 21:49:41 +01:00 -
5874d0cb08
Márk Sági-Kazár
2018-01-16 13:32:03 +01:00 -
10f9aca639
Add time.Time (RFC 3339) support to defaultDecoderConfig
russtone
2018-02-03 13:00:37 +03:00 -
497fce2145
Fix SafeWriteConfig
Rodrigo Chiossi
2018-01-30 10:15:47 +00:00 -
4a90d8c3a8
Use 'viper' as decoder tag name
Tyler Bunnell
2018-01-29 13:09:32 -07:00 -
daea2aaa5a
Creation of Sub now copies parent properties and sets envPrefix
Roy Razon
2018-01-16 17:03:31 +02:00 -
34f98a8913
fix: WatchConfig leads to panic if OnConfigChange is not called
EMayej Bee
2018-01-18 10:27:42 +08:00 -
e4c9d87b4c
fixed formatting
Roy Razon
2018-01-16 13:19:27 +02:00 -
da4885ce3d
Added functionality to mock the environment variable store, for tests
Roy Razon
2018-01-16 12:59:06 +02:00 -
5a520d2811
Merge
9ca9d6745d
intoaafc9e6bc7
Thordur Bjornsson
2018-01-16 09:19:48 +00:00 -
5f41252f95
Albert Le Batteux
2018-01-11 13:13:31 +01:00 -
11588a03fa
Carolyn Van Slyck
2018-01-10 10:35:47 -06:00 -
8e1c71e7c2
Budh Ram Gurung
2018-01-10 12:33:41 +05:30 -
e0f7631cf3
WatchConfig and Kubernetes (#284)
Xavier Coulon
2018-01-03 10:37:18 +01:00 -
c6a016c43c
Merge
dc3e53cb8b
intoaafc9e6bc7
Márk Sági-Kazár
2017-12-28 17:00:42 +00:00 -
aafc9e6bc7
travis: update go versions
Davor Kapsa
2017-11-29 10:51:06 +01:00 -
dc3e53cb8b
Márk Sági-Kazár
2017-12-22 02:13:52 +01:00