77 Commits
Author SHA1 Message Date
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
Unknwon f461e76789 Reorganize files and change behavior of pretty format 2016-02-20 01:16:12 -05:00
Unknwon 193d1ecb46 Add docs for new methods
Add use examples for new method serials 'Valid...' and 'Strict...'
2016-02-07 11:33:30 -05:00
Unknwon 2a59b714f3 Merge pull request #31 from lyobzik/exclude-errors-from-list
Exclude not parsed values from lists.
2016-02-07 11:14:00 -05:00
Unknwon afbd495e5a bump version 2016-01-06 18:56:16 +08:00
Unknwon 68e39cc83a Merge pull request #28 from woniu369/patch-1
Update ini.go
2016-01-06 18:50:46 +08:00
Unknwon 887c8d36f8 Merge pull request #30 from shawnps/patch-2
fix typos
2015-12-31 21:02:31 -05:00
Unknwon 6ec4abd8f8 add -t docs 2015-12-17 22:34:33 -05:00
Unknwon 467243bad6 README 2015-12-16 00:35:07 -05:00
Unknwon 77178f2269 bump version and make tag 2015-12-16 00:30:49 -05:00
Unknwon de765479a5 Merge pull request #26 from ahmetalpbalkan/bool-yn
Add `y`/`n` as options for BOOL values
2015-12-15 21:53:47 -05:00
Unknwon a4e5487f4a fix panic when have empty values 2015-12-11 16:51:11 -05:00
Unknwon 9314fb0ef6 fix default mapping error 2015-12-10 12:26:54 -05:00
Unknwon 9f4d2712cf fix #25 2015-12-07 23:17:02 -05:00
Unknwon 9cd12f2950 fix key hash not updated when call SetValue 2015-12-07 11:26:11 -05:00
Unknwon 65f8c74913 refactor parser 2015-12-06 01:34:00 -05:00
Unknwon 3c26913185 Merge pull request #24 from Timmmm/master
Better comments support
2015-12-03 13:22:36 -05:00
Unknwon 641bc9176a Merge pull request #22 from jds/v1
Make method name Section.HasKey match documentation.
2015-12-02 13:50:19 -05:00
Unknwon 03e0e7d51a #21 return nil when error occurs 2015-11-24 14:24:05 -05:00
Unknwon 8f40127895 fix typo 2015-11-23 15:00:42 -05:00
Unknwon 2e44421e25 minor fix for #20 2015-11-19 11:33:33 -05:00
Unknwon a1f20b4554 Merge pull request #20 from kuuyee/master
新增HasKey和HasValue方法,用来判断键或值是否存在。
2015-11-19 11:06:03 -05:00
Unknwon 060d7da055 docs 2015-11-04 20:00:20 -05:00
Unknwon 55063dda59 more test cases for #19 2015-11-04 19:56:46 -05:00
无闻 9123c74ef5 Merge pull request #19 from seastar-io/master
Add support for Uint types
2015-11-04 19:50:10 -05:00
Unknwon aea5e9fd2e remove useless reslice 2015-10-08 09:31:02 -04:00
Unknwon 28c46efbdf close file after parsing 2015-10-05 00:58:44 -04:00
Unknwon df3ea05e1d work on #16 2015-10-02 10:54:18 -04:00
Unknwon a1b792071c Merge branch 'v1' of github.com:go-ini/ini into v1 2015-10-01 19:50:51 -04:00
Unknwon 851a752134 put tmp file in the same directory of filename 2015-10-01 19:50:46 -04:00
Unknwon 1d44d3ecb9 minor fix on #15 2015-09-30 15:34:58 -04:00
Unknwon 1e493a0661 work on #15 2015-09-29 17:08:35 -04:00
Unknwon fce4613bab Merge branch 'v1' of github.com:go-ini/ini into v1 2015-09-27 01:00:21 -04:00
Unknwon bf95b9db55 add validate key on the fly 2015-09-27 01:00:16 -04:00
Unknwon e8c222fea7 add logo 2015-09-12 17:07:54 -04:00
Unknwon 463307112d fix #14 2015-08-30 00:00:58 +08:00
Unknwon 45bf59e51e update README 2015-08-07 23:09:01 +08:00
Unknwon 18a90d4a80 update README 2015-08-07 23:06:16 +08:00
Unknwon 7fd539083a reflect from struct 2015-08-07 22:25:06 +08:00
Unknwon 7685e21179 update version 2015-08-02 21:52:35 +08:00
Unknwon 10aeb01bf8 fix #13 2015-08-02 21:51:33 +08:00
Unknwon 6a76fccf29 fix #12 2015-08-02 21:40:15 +08:00
Unknwon caf3f03ad9 support save with # in value 2015-07-28 17:54:27 +08:00
Unknwon 1fdd933d82 fix typo and example 2015-07-25 17:14:33 +08:00
Unknwon d1e3b557c6 fix #9 2015-07-25 06:20:44 +08:00
Unknwon 7767e5c547 modifications on #7 2015-07-25 06:04:22 +08:00
无闻 5e15cfce1e Merge pull request #7 from liut/master
添加 time.Duration 类型支持,添加 配置文件 WriteTo(io.Writer) 接口
2015-07-25 05:38:27 +08:00
Unknwon c620a3290c update version 2015-07-25 05:35:15 +08:00
Unknwon a2b4016f46 fix #11 2015-07-25 05:10:29 +08:00
Unknwon 45c7e5e608 update version 2015-07-15 23:35:43 +08:00
Unknwon 7094791bcb #5: continuation lines 2015-07-15 23:32:45 +08:00
Unknwon 177219109c #4: add more boolean value rules 2015-03-19 00:52:36 -04:00
Unknwon cc9ffc43b7 remove debug info 2015-03-10 21:40:28 -04:00
Unknwon f571fe1a1f able set default value of struct when map 2015-02-21 01:03:13 -05:00
无闻 8d4c6fd2fa Merge pull request #2 from mkozjak/keyshash
Dump file contents to the hash. Fixes #1
2014-12-21 08:07:06 -05:00