Unknwon
|
7ff51274eb
|
ci: add Go 1.12
|
2019-03-26 19:56:59 -04:00 |
|
Unknwon
|
d79353dad8
|
*: fix golint complaints
|
2019-03-26 19:30:17 -04:00 |
|
Unknwon
|
ece0e89bb0
|
*: refactor constants to use camelcase
|
2019-02-17 14:54:15 -05:00 |
|
Unknwon
|
7c1c4f765b
|
parser: pass file options at parser creation
To avoid passing same values for every readValue call.
|
2019-02-17 14:53:13 -05:00 |
|
Unknwon
|
c85607071c
|
Bump version
|
2019-02-17 14:36:56 -05:00 |
|
Unknwon
|
6ed8d5f64c
|
Bump version
|
2019-01-03 09:53:35 +08:00 |
|
Unknwon
|
c498c36b6f
|
Bump version
|
2018-12-22 09:55:11 -05:00 |
|
Unknwon
|
f55231ca73
|
struct: fix integer overflow in time.Duration conversion (#175)
|
2018-12-10 23:59:31 -05:00 |
|
Unknwon
|
b194b0c75f
|
file: trim space for original comment before prepending (#163)
|
2018-12-03 22:41:56 -05:00 |
|
Unknwon
|
ffaaebdac6
|
parser: remove unreachable code (#170)
|
2018-12-02 19:56:02 -05:00 |
|
Unknwon
|
9c8236e659
|
ci: add Go 1.11.x
|
2018-10-14 19:42:04 -04:00 |
|
Unknwon
|
8d6d08321b
|
file: support custom key-value delimiters (#166)
|
2018-10-14 19:40:43 -04:00 |
|
Unknwon
|
7b29465103
|
Bump version
|
2018-09-30 13:34:52 -04:00 |
|
Unknwon
|
fa25069db3
|
README: add Go version requirement
[ci skip]
|
2018-09-10 15:26:01 -04:00 |
|
Unknwon
|
5cf292cae4
|
file: fix incorrect multiline comment handling when write out (#157)
|
2018-08-18 19:46:59 +08:00 |
|
Unknwon
|
358ee76639
|
section: fix s.keyHash not updated with data overwrite (#149)
|
2018-07-12 21:10:51 +08:00 |
|
Unknwon
|
af26abd521
|
parser: support SkipUnrecognizableLines (#150)
|
2018-07-11 21:03:03 +08:00 |
|
Unknwon
|
fa6ee696e4
|
ini: change minimum Go requirement to 1.6
|
2018-07-11 20:55:23 +08:00 |
|
Unknwon
|
cec2bdc490
|
README: update sourcegraph badge URL
[ci skip]
|
2018-06-15 08:35:39 +08:00 |
|
Unknwon
|
06f5f3d672
|
Bump version
|
2018-05-27 06:45:42 +08:00 |
|
Unknwon
|
bda519ae5f
|
ci: correct coverage result
|
2018-04-20 11:00:25 -04:00 |
|
Unknwon
|
6529cf7c58
|
Bump version
|
2018-04-20 10:56:02 -04:00 |
|
Unknwon
|
ace140f734
|
Bump version
|
2018-04-12 18:04:31 -04:00 |
|
Unknwon
|
5e9692864e
|
file: support multiline comments
|
2018-04-02 20:54:27 -04:00 |
|
Unknwon
|
6ecc596bd7
|
README: remove ZH
|
2018-03-13 13:39:40 -04:00 |
|
Unknwon
|
9fe64db119
|
REMADE: remove docs
|
2018-03-13 11:21:16 -04:00 |
|
Unknwon
|
c0041090ca
|
README: new website online
|
2018-03-13 11:19:27 -04:00 |
|
Unknwon
|
6333e38ac2
|
file: use lock to secure concurrent operations on sections (#135)
|
2018-03-08 04:54:59 -05:00 |
|
Unknwon
|
a76e4b8c9a
|
README: update docs for ShadowLoad (#136)
|
2018-03-06 06:20:24 -05:00 |
|
Unknwon
|
1d1add4bb9
|
struct_test: fix test cases for Go 1.10
Added Go 1.10 to CI.
|
2018-03-06 06:02:36 -05:00 |
|
Unknwon
|
32e4be5f41
|
*_test: use golden file for complex test output
|
2018-02-14 05:17:53 -05:00 |
|
Unknwon
|
32e4c1e6bc
|
key: support nested values (#131)
Docs: http://docs.aws.amazon.com/cli/latest/topic/config-vars.html#nested-values
|
2017-11-19 00:34:21 -05:00 |
|
Unknwon
|
7e7da45132
|
key: add test for recursive values (#130)
|
2017-11-13 20:13:26 -05:00 |
|
Unknwon
|
a343d9870e
|
ini: add load option UnescapeValueCommentSymbols (#129)
|
2017-11-13 19:34:40 -05:00 |
|
Unknwon
|
f280b3ba51
|
{file, parser}: enforce default section name to lowercase with insentive load (#125)
|
2017-10-26 14:46:43 -04:00 |
|
Unknwon
|
f384f41079
|
CI: update script
Create directory before symbolic linking
|
2017-10-23 06:36:43 -04:00 |
|
Unknwon
|
92e442e290
|
CI: update script
Link import path
|
2017-10-23 06:34:40 -04:00 |
|
Unknwon
|
a0d9cad96d
|
CI: update script
|
2017-10-23 06:30:23 -04:00 |
|
Unknwon
|
7006dbe48c
|
TESTING: improve overall code quality
|
2017-10-23 06:27:56 -04:00 |
|
Unknwon
|
cd55d8d297
|
file: cut File-related code to its own file
|
2017-10-23 02:27:05 -04:00 |
|
Unknwon
|
5b3e00af70
|
Bump version
|
2017-10-14 17:05:30 -04:00 |
|
Unknwon
|
dd08f93220
|
license: update indeitfy information
Fixes #121
|
2017-10-14 05:21:18 -04:00 |
|
Unknwon
|
3321baafb1
|
struct: only return error in strict mode
|
2017-10-14 05:18:21 -04:00 |
|
Unknwon
|
0f8cf1ac61
|
github: add issue and pull request templates
[CI SKIP]
|
2017-10-14 05:12:32 -04:00 |
|
Unknwon
|
496647f2d0
|
struct: support reflect/map comment tag
Closes #113
|
2017-10-14 04:43:12 -04:00 |
|
Unknwon
|
2d365cea38
|
ci: update .travis.yml to add 1.9 and remove master
|
2017-10-14 04:22:13 -04:00 |
|
Unknwon
|
7a6f455dde
|
file: add load option UnescapeValueDoubleQuotes
Closes #110
|
2017-10-14 04:16:35 -04:00 |
|
无闻
|
c787282c39
|
Remove Go 1.4 from .travis.yml
|
2017-08-13 01:22:30 -04:00 |
|
无闻
|
20b96f641a
|
Update .travis.yml
|
2017-08-13 01:15:16 -04:00 |
|
Unknwon
|
3d73f4b845
|
struct: detect regular struct that is not time.Time (#108)
|
2017-06-27 19:12:24 -04:00 |
|
Unknwon
|
d3de07a94d
|
struct: add strict mode to MapTo series (#96)
|
2017-06-02 16:46:24 -04:00 |
|
Unknwon
|
4090f13a2c
|
struct: remove skipping 0 value for int types (#103)
|
2017-06-02 16:27:01 -04:00 |
|
Unknwon
|
afbc45e87f
|
README: add usage of IgnoreInlineComment
|
2017-05-18 22:37:13 -04:00 |
|
Unknwon
|
36da989cdc
|
ini: do not outout back quotes if IgnoreInlineComment enabled (#99)
|
2017-05-18 04:52:39 -04:00 |
|
Unknwon
|
79f45f0fe8
|
parser: remove surrounding quotes for empty value (#97)
|
2017-05-18 04:42:24 -04:00 |
|
Unknwon
|
9f4b4ba0b9
|
Fix README
|
2017-05-18 04:18:58 -04:00 |
|
Unknwon
|
e7fea39b01
|
section: add ChildSections (#95)
Also added (*File).ChildSecions.
|
2017-03-28 11:39:02 -04:00 |
|
Unknwon
|
1730955e31
|
parser: add LoadOptions.IgnoreInlineComment (#93)
|
2017-03-15 17:01:39 -04:00 |
|
Unknwon
|
98c45284d6
|
struct: add more map to types with shadow (#92)
|
2017-03-13 21:37:52 -04:00 |
|
Unknwon
|
300e940a92
|
struct: support map to []int and []int64 (#92)
|
2017-03-13 00:11:30 -04:00 |
|
Unknwon
|
7e015cd18f
|
struct: support shadows for MapTo (#92)
Only works for []string type field.
|
2017-03-10 21:49:06 -05:00 |
|
Unknwon
|
c437d20015
|
test: add cases values include comment sign
|
2017-02-23 17:22:15 -05:00 |
|
Unknwon
|
74bdc99692
|
Add new function ShadowLoad
|
2017-02-22 06:10:43 -05:00 |
|
Unknwon
|
173c8ba8e6
|
key: able to write out shadows
|
2017-02-21 22:56:27 -05:00 |
|
Unknwon
|
6a67acc2cd
|
key: add shadow keys
|
2017-02-21 22:36:12 -05:00 |
|
Unknwon
|
ee900ca565
|
Fix CI error
|
2017-02-08 23:24:15 -05:00 |
|
Unknwon
|
ce490a7c27
|
Add Sourcegraph badge
|
2017-02-08 23:10:28 -05:00 |
|
Unknwon
|
e3c2d47c61
|
Add (*Section).NewBooleanKey method
Fixes #87
|
2017-01-23 04:11:46 -05:00 |
|
Unknwon
|
7680b38f53
|
Add error check for PR #77
|
2017-01-22 06:44:57 -05:00 |
|
Unknwon
|
766e555c68
|
Detect reflect.Float32 in setWithProperType
Fixes #86
|
2017-01-17 21:00:17 +08:00 |
|
Unknwon
|
6f66b0e091
|
Support for loading from io.ReadCloser
Closes #79
|
2016-12-21 07:03:40 -05:00 |
|
Unknwon
|
bc525925d9
|
Fix typo in README
|
2016-12-21 06:46:49 -05:00 |
|
Unknwon
|
9a250b46b0
|
Minor fix and docs for PR #72
|
2016-12-21 06:44:06 -05:00 |
|
Unknwon
|
546515cc5a
|
Minor fix for PR #69
|
2016-12-21 06:06:34 -05:00 |
|
Unknwon
|
da14cebb76
|
Hanlde BOM for UTF-16
|
2016-12-21 05:59:58 -05:00 |
|
Unknwon
|
2ba15ac2dc
|
Add PrettyFormat docs to README
|
2016-11-19 22:10:36 -05:00 |
|
Unknwon
|
6e4869b434
|
Bump version
|
2016-08-26 23:11:18 -07:00 |
|
Unknwon
|
a2610b3a79
|
#53 support boolean type key
|
2016-08-16 21:45:43 -07:00 |
|
Unknwon
|
cefc24de94
|
Bump version and add docs
|
2016-08-11 07:23:05 -07:00 |
|
Unknwon
|
6b91d32e11
|
Fix code consistency
|
2016-08-11 06:48:09 -07:00 |
|
Unknwon
|
f4c8d0e8b3
|
#62 fix value zero (0) of uint cause misjudge as time.Duration
|
2016-08-11 06:41:25 -07:00 |
|
Unknwon
|
9144852efb
|
#61 fix struct check with time.Time
|
2016-08-05 13:04:04 -07:00 |
|
Unknwon
|
088ac83a7d
|
#60 minor fix and update docs
|
2016-08-05 11:03:21 -07:00 |
|
Unknwon
|
cf53f9204d
|
Fix Go1.4 backward compatibility
|
2016-07-09 01:31:50 +08:00 |
|
Unknwon
|
959d90aa69
|
#48 support more slice types when MapTo/ReflectFrom struct
This allows int, int64, uint, uint64 and float64 to be slice element type.
|
2016-07-09 00:38:25 +08:00 |
|
Unknwon
|
927d8d7ced
|
Update README [CI SKIP]
|
2016-07-02 17:56:45 +08:00 |
|
Unknwon
|
d84ec27dc1
|
#44 add load option to ignore continuation lines
|
2016-07-02 17:26:46 +08:00 |
|
Unknwon
|
a219cd2c4f
|
Go1.4 compatibility
|
2016-06-30 04:59:49 +08:00 |
|
Unknwon
|
911580e203
|
#46 Bump version
|
2016-06-30 04:48:53 +08:00 |
|
Unknwon
|
e0f460c8b6
|
#45 Must... methods assign default value when void
|
2016-06-30 00:25:09 +08:00 |
|
Unknwon
|
a2614a51e8
|
update travis script
|
2016-06-29 20:31:17 +08:00 |
|
Unknwon
|
2cd302aa78
|
#36 support case insensitive load
- Use Travis CI
|
2016-06-29 20:27:58 +08:00 |
|
Unknwon
|
81d9577135
|
#55 add test case
|
2016-06-27 15:52:30 +08:00 |
|
Unknwon
|
72ba3e6b9e
|
#52 bump version and docs
|
2016-06-01 12:11:21 -07:00 |
|
Unknwon
|
12f418cc7e
|
Bump version
|
2016-03-21 19:18:31 -04:00 |
|
Unknwon
|
f4b7b2c842
|
Merge pull request #38 from nextrevision/default-header
Add support for explicitly writing a header in the DEFAULT section
|
2016-03-21 19:16:42 -04:00 |
|
Unknwon
|
776aa739ce
|
#33 create default section for nonexistent files in loose mode
|
2016-02-22 18:24:41 -05:00 |
|
Unknwon
|
c83bc2f5e9
|
Add docs for LooseLoad
|
2016-02-22 16:27:18 -05:00 |
|
Unknwon
|
7e829a0d01
|
Minor fix for #34
Fix error check logic and wrong test cases
|
2016-02-22 16:17:35 -05:00 |
|
Unknwon
|
40c7ebf076
|
Merge pull request #34 from alessio/loose-load
Add LooseLoad - fix #33
|
2016-02-22 15:54:06 -05:00 |
|