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
-
9656971389
use v.getConfigType to determine config type in WriteConfig
Kristin Laemmert
2017-12-20 12:05:47 -08:00 -
2cf56962a6
Document reading a specific config file in README
casept
2017-12-16 13:22:40 +01:00 -
1a0c4a370c
Feature/write config (#287)
Adam Sherwood
2017-12-06 20:26:31 -08:00 -
77aea9b385
Sync fork with upstream
Adam Sherwood
2017-12-01 19:02:37 -08:00 -
c0c02c2345
Sync fork with upstream
Adam Sherwood
2017-12-01 18:52:52 -08:00 -
51bb70aff9
Davor Kapsa
2017-11-29 10:51:06 +01:00 -
749b07afe7
Declare required dependencies with
go dep
#413Xavier Coulon
2017-11-11 15:00:33 +01:00 -
4dddf7c62e
Allow exists util function to take afero.Fs so it can be used with non-deafult instances of Viper (#405)
Jeff Lindsay
2017-11-09 14:57:16 -06:00 -
7ae2e803bd
Allow exists util function to take afero.Fs so it can be used with non-deafult instances of Viper
Jeff Lindsay
2017-10-24 13:56:45 -05:00 -
62674a9a65
Update LICENSE
Leo Rudberg
2017-10-24 11:00:22 -04:00 -
4557438166
Added new method for getting Defaults values from config.
Kamil Wargula
2017-10-20 13:45:18 +02:00 -
8ef37cbca7
Fix incorrect name of function in README.md
Kamil Wargula
2017-10-20 12:22:28 +02:00 -
0295131e26
Fix incorrect name of function in README.md
Kamil Wargula
2017-10-20 12:22:28 +02:00 -
056876e01f
Add SetKeyDelimiter
Robert Günzler
2017-10-17 14:54:28 +02:00 -
8d5bbde953
Fix retrieval of pflag stringArray
Fabian Ruff
2017-10-17 11:33:56 +02:00 -
9e7b3a1bb5
Improve common mistake when using Cobra flagsets
Tyler Butters
2017-10-08 12:47:12 -04:00 -
9ce37a02f1
Added testing for Get when typeByDefValue is set.
Leo Rudberg
2017-10-02 15:43:02 -04:00 -
d9cca5ef33
Go fmt viper.go
Bjørn Erik Pedersen
2017-09-29 23:06:42 +02:00 -
266e588e9e
Add string slice support to defaultDecoderConfig
Alexander Krasnukhin
2017-03-03 12:09:20 +01:00 -
9ed185bc8f
WatchConfig and Kubernetes, fixes #284
vasu1124
2017-09-18 12:27:25 +02:00 -
9cf6bd7828
Merge branch 'master' into feature/unmarshal-with-meta
Adam Sherwood
2017-08-30 11:35:51 -07:00 -
3dfbd2fccd
Merge branch 'master' into feature/write-config
Adam Sherwood
2017-08-30 09:59:01 -07:00 -
c892f2738f
Merge
eb4fbe638f
into25b30aa063
Kolbe Kegel
2017-08-23 06:49:56 +00:00 -
bcaa23d4ab
Added TestUnmarshalKeyExact() to test UnmarshalKeyExact().
Kolbe Kegel
2017-08-22 23:48:57 -07:00 -
eb4fbe638f
Added TestUnmarshalKeyExact() to test UnmarshalKeyExact().
Kolbe Kegel
2017-08-22 23:48:57 -07:00 -
eaf7a394a2
Added UnmarshalKeyExact() as well as non-method UnmarshalExact().
Kolbe Kegel
2017-08-22 23:35:11 -07:00 -
6d96b16143
Added UnmarshalKeyExact() as well as non-method UnmarshalExact().
Kolbe Kegel
2017-08-22 23:35:11 -07:00 -
91e1c81bcc
Merge
f1d4c8e75a
into25b30aa063
Byron Kam
2017-08-19 00:41:44 +00:00 -
f1d4c8e75a
glide yaml and lock
Byron Kam
2017-08-18 17:38:05 -07:00 -
c706d52c9c
ignore vendor folder
Byron Kam
2017-08-18 17:35:47 -07:00 -
ba9d8fe52a
Merge
21e45f5ded
into25b30aa063
Maxim Krasilnikov
2017-07-23 05:52:46 +00:00 -
25b30aa063
Add Clairctl as a Go project that uses Viper
v1.0.0
JG²
2017-07-23 07:52:07 +02:00 -
8ac2e2e20f
Run gofmt on all existing code
Nick Miyake
2017-07-22 22:47:47 -07:00 -
f257d19100
Fix a few minor typos/formatting issues with comments
Nick Miyake
2017-07-22 22:39:01 -07:00 -
c65884f17a
Merge branch 'master' into touchUpComments
Anthony Fok
2017-07-22 23:36:39 -06:00 -
04691bc570
Improve documentation for flags
Brad Peabody
2017-07-22 22:26:21 -07:00 -
9766537120
Fix grammar/typo in comment for getEnv()
Nikola Kovacs
2017-07-23 07:09:41 +02:00 -
a784b252c8
Merge
2e3a48342c
into16a9458573
Guiheux Steven
2017-07-23 04:54:31 +00:00 -
16a9458573
Fix indentation in README.md
Albert Nigmatzianov
2017-07-23 06:54:24 +02:00 -
b71fae7753
Viper
Unmarshal
example fixpremshree
2017-07-22 09:37:03 -04:00 -
df7314a14e
Make minor copy-editing changes to README.md
Anthony Fok
2017-07-21 04:20:10 -06:00 -
c1de95864d
Prevent redundant type assertion in Get
Albert Nigmatzianov
2017-06-19 12:35:39 +02:00 -
af42719ceb
Prevent redundant type assertion in Get
Albert Nigmatzianov
2017-06-19 12:35:39 +02:00 -
68a8b52d7b
#358: access nested array values using get
laxman.vallandas
2017-06-15 13:50:46 +00:00 -
5b05f7e94a
Merge
62433a2544
intoa1ecfa6a20
Matt Spaulding
2017-06-12 03:42:54 +00:00 -
62433a2544
Add glide file for dependency management
Matt Spaulding
2017-06-11 20:40:09 -07:00 -
b9f2b580f3
Merge
21a8c83361
intoa1ecfa6a20
Roman Volosatovs
2017-06-10 20:51:41 +00:00 -
a1ecfa6a20
Fix apostrophes in README
Nick Miyake
2017-06-09 14:46:44 -07:00 -
4f591986d6
Fix apostrophes in README
Nick Miyake
2017-06-09 14:46:44 -07:00 -
2e3a48342c
Steven Guiheux
2017-06-02 16:40:50 +02:00 -
cc39e99a35
Add Clairctl as User
JG²
2017-06-02 13:13:02 +02:00 -
f60114508b
gofmt code
Nick Miyake
2017-05-21 11:43:00 -07:00 -
0ead5cf4db
Fix a few minor typos/formatting issues with comments
Nick Miyake
2017-05-21 11:34:55 -07:00 -
9fabc05b38
Fix indentation in README.md
Albert Nigmatzianov
2017-05-08 13:40:01 +02:00 -
ea05004cf9
Merge
b4f55a56ad
into0967fc9ace
Chase Adams
2017-05-02 09:23:54 +00:00 -
103db871f3
Fix documentation to correctly reflect implementation
Herkermer Sherwood
2017-04-29 14:36:07 -07:00 -
ed787f03db
Add a tests and examples for each new method
Herkermer Sherwood
2017-04-29 14:30:24 -07:00 -
c254a5ba54
Add parallel functions/methods to unmarshal data and return mapstructure.Metadata
Herkermer Sherwood
2017-04-29 14:28:30 -07:00 -
02eb49d4bd
Fix small lint issues
Herkermer Sherwood
2017-04-29 14:27:45 -07:00 -
1774aa4529
Merge
c8bda1f37d
into0967fc9ace
Anthony Fok
2017-04-27 02:45:18 +00:00 -
b4f55a56ad
add method for GetStringMapBool
Chase Adams
2017-04-26 03:13:56 -07:00 -
4b195d0ed8
Fix toml return count error
Herkermer Sherwood
2017-04-23 14:00:53 -07:00 -
c588a0c383
Lint remote.go
Herkermer Sherwood
2017-04-23 13:43:38 -07:00 -
760350d83c
Use filename variable
Herkermer Sherwood
2017-04-23 13:41:00 -07:00 -
dceace525a
Write all settings including overrides
Herkermer Sherwood
2016-12-19 13:29:08 -08:00 -
0ea954cb0d
Need to truncate the file before writing
Herkermer Sherwood
2016-12-19 12:28:13 -08:00 -
543b9ec4c1
Revert "Modify to only support HCL write in Go 1.7"
Herkermer Sherwood
2016-12-15 20:12:53 -08:00 -
01cef45259
Modify to only support HCL write in Go 1.7
Herkermer Sherwood
2016-12-15 13:12:09 -08:00 -
cf3aa482da
Modify test for updated HCL specification
Herkermer Sherwood
2016-12-15 10:42:29 -08:00 -
6805b2ad85
Add tests for each written file type
Herkermer Sherwood
2016-12-14 18:25:59 -08:00 -
3a92f74e9b
Add support for remaining configuration types
Herkermer Sherwood
2016-12-14 18:24:08 -08:00 -
315278c264
Make marshal spelling consistent throughout
Herkermer Sherwood
2016-12-09 06:14:40 -08:00 -
5b296abffb
Fix spelling
Herkermer Sherwood
2016-12-09 06:12:34 -08:00 -
75bbdad0c3
Remove extra comments
Herkermer Sherwood
2016-12-09 06:11:09 -08:00 -
a694a73d31
Fix incorrectly modified imports
Herkermer Sherwood
2016-12-09 06:10:10 -08:00 -
5d10b9a48a
Add shared write function and safe methods
Herkermer Sherwood
2016-12-08 17:07:43 -08:00 -
5ae581fbf7
Add support for toml
Herkermer Sherwood
2016-12-08 17:07:08 -08:00 -
e4c838dc30
Add WriteConfig methods
Herkermer Sherwood
2016-12-08 03:00:18 -08:00 -
4c3baa4a94
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 -05:00 -
3611c6c1c4
Added method to write into YAML file.
g3rk6
2016-01-10 21:59:10 -05:00 -
71d6b8c96f
Added functionality to export configuration based on config type. The feature supports JSON and TOML.
g3rk6
2015-09-20 02:24:06 -04:00 -
985fae64ee
Added method to write into TOML file.
g3rk6
2015-09-08 03:25:36 -04:00 -
3247ce7c30
Merge
393cd591dc
into0967fc9ace
Vladimir Vivien
2017-04-19 14:22:43 +00:00 -
da03ede466
Merge
ed3e8623b5
into0967fc9ace
Konrad Kleine
2017-04-19 12:33:20 +00:00 -
14294d165f
Merge
835f7826d0
into0967fc9ace
Matt Rickard
2017-04-19 12:03:23 +00:00 -
b4801c9944
Merge
f6077e77c2
into0967fc9ace
Valentin Pichard
2017-04-19 11:56:17 +00:00 -
21a8c83361
Roman Volosatovs
2017-04-18 15:58:37 +02:00 -
6152d25e55
Roman Volosatovs
2017-04-18 15:54:21 +02:00 -
945f4d6695
Roman Volosatovs
2017-04-18 15:52:21 +02:00 -
afd117e0d8
Merge
70685607d8
into0967fc9ace
Alexandre Bourget
2017-04-17 21:08:54 +00:00 -
55547298c5
Merge
e197beec2f
into0967fc9ace
Abhinandan
2017-04-17 16:57:43 +00:00 -
bb1e5d5512
Merge
553a030220
into0967fc9ace
Ben Gadbois
2017-04-17 15:08:20 +00:00 -
f531e91ccd
Merge
9341daefb3
into0967fc9ace
Roman Volosatovs
2017-04-17 15:08:20 +00:00 -
5e7b004740
Merge
824e0d24e0
into0967fc9ace
David Symonds
2017-04-17 12:21:10 +00:00 -
0967fc9ace
Properly handle string slice values
Paweł Szczur
2017-04-17 10:08:15 +02:00 -
9341daefb3
Roman Volosatovs
2017-04-13 10:49:02 +02:00 -
0d3c5c6c30
Roman Volosatovs
2017-04-13 10:43:54 +02:00 -
b11cd5a631
Merge
94e8f72a4c
into5d46e70da8
Cameron Moore
2017-04-10 09:48:01 +00:00 -
5d46e70da8
Fix UnmarshalKey handling of time.Duration
Miguel Eduardo Gil Biraud
2017-04-10 11:26:50 +02:00 -
cc9aa0f5b0
Merge
1af7e37071
into84f94806c6
Diep Pham
2017-04-10 08:56:28 +00:00