Commit Graph
205 Commits
Author SHA1 Message Date
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) v1.33.0 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
carterjonesand无闻 e88632e2fb MISC: remove trailing whitespace and add missing newline (#133) 2018-03-02 02:19:47 -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
v1.32.0
2017-11-19 00:34:21 -05:00
Unknwon 7e7da45132 key: add test for recursive values (#130) v1.31.1 2017-11-13 20:13:26 -05:00
Alexandre Pauziesand无闻 fa898e883e key: keys should not consider themselves for recursion read (#130) 2017-11-13 19:45:16 -05:00
Unknwon a343d9870e ini: add load option UnescapeValueCommentSymbols (#129) v1.31.0 2017-11-13 19:34:40 -05:00
Unknwon f280b3ba51 {file, parser}: enforce default section name to lowercase with insentive load (#125) v1.30.3 2017-10-26 14:46:43 -04:00
Luis Gustavo S. Barretoand无闻 7ddae1ffd1 struct: fix integer overflow in time.Duration conversion (#126)
* Add specific test for time.Duration conversion

This test will fail on 32 bits system

* Fix integer overflow in time.Duration conversion

According to the Go documentation, a time.Duration is represented by
int64 nanoseconds count, so we need to cast to int64 to avoid integer
overflow in 32 bits systems.
2017-10-26 14:12:52 -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 v1.30.0 2017-10-14 17:05:30 -04:00
Adam Tauberand无闻 696b7e6429 key: escape delimiters in string slice values (#116)
* Escape delimiters in string slice values

Fixes #32

* [enh] add test
2017-10-14 17:03:21 -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 v1.29.2 2017-10-14 05:18:21 -04:00
Peter Vacziand无闻 476f0ee051 struct: map slices in strict mode too (#119) 2017-10-14 05:14:50 -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
v1.29.1
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
v1.29.0
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 v1.28.2 2017-08-13 01:15:16 -04:00
Ethan Koenigand无闻 8a83917a6a Avoid using temp file during write (#115) 2017-08-13 01:12:34 -04:00
Unknwon 3d73f4b845 struct: detect regular struct that is not time.Time (#108) v1.28.1 2017-06-27 19:12:24 -04:00
Unknwon d3de07a94d struct: add strict mode to MapTo series (#96) v1.28.0 2017-06-02 16:46:24 -04:00
Unknwon 4090f13a2c struct: remove skipping 0 value for int types (#103) v1.27.3 2017-06-02 16:27:01 -04:00
Unknwon afbc45e87f README: add usage of IgnoreInlineComment 2017-05-18 22:37:13 -04:00
lispkingand无闻 458858a8ce Support Indicate whether put a line between sections (#102) 2017-05-18 22:32:21 -04:00
Unknwon 36da989cdc ini: do not outout back quotes if IgnoreInlineComment enabled (#99) v1.27.2 2017-05-18 04:52:39 -04:00
Unknwon 79f45f0fe8 parser: remove surrounding quotes for empty value (#97) v1.27.1 2017-05-18 04:42:24 -04:00
Unknwon 9f4b4ba0b9 Fix README 2017-05-18 04:18:58 -04:00
Christian Hildebrando Herculesand无闻 b2ba6d00cf config file does not have GetKey directly (#100)
Section has GetKey function, and not config pointer directly.
2017-05-18 04:17:27 -04:00
Unknwon e7fea39b01 section: add ChildSections (#95)
Also added (*File).ChildSecions.
v1.27.0
2017-03-28 11:39:02 -04:00
Unknwon 1730955e31 parser: add LoadOptions.IgnoreInlineComment (#93) v1.26.0 2017-03-15 17:01:39 -04:00
Unknwon 98c45284d6 struct: add more map to types with shadow (#92) v1.25.5 2017-03-13 21:37:52 -04:00
Unknwon 300e940a92 struct: support map to []int and []int64 (#92) v1.25.4 2017-03-13 00:11:30 -04:00
Unknwon 7e015cd18f struct: support shadows for MapTo (#92)
Only works for []string type field.
v1.25.3
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 v1.25.2 2017-02-22 06:10:43 -05:00
Unknwon 173c8ba8e6 key: able to write out shadows v1.25.1 2017-02-21 22:56:27 -05:00
Unknwon 6a67acc2cd key: add shadow keys v1.25.0 2017-02-21 22:36:12 -05:00
Unknwon ee900ca565 Fix CI error 2017-02-08 23:24:15 -05:00