woniu369
b91200511e
Update ini.go
2015-12-21 03:06:10 +08: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
v1.8.5
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
Ahmet Alp Balkan
62f9a5e184
Add y/n as options for BOOL values
...
`y`/`n` are also used as boolean values sometimes, extending
the library to infer these values for parseBool as well.
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com >
2015-12-15 18:34:26 -08: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
Tim Hutt
38496d948b
Better comments support
...
This adds support for comments on the end of section headers, e.g.
[a_section] ; A comment
It also fixes a couple of places where only `#` comments were supports - not `;` comments.
Test cases are included (they pass).
2015-12-03 14:40:47 +00: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
Joe Strickler
c680b35615
Minor documentation fix for Section.HasValue.
2015-12-02 11:25:55 -05:00
Joe Strickler
ff54144c0a
Makes method name Section.HasKey match documentation.
...
The previous name, Section.Haskey, has been kept for backwards compatibility.
2015-12-02 11:23:53 -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
kuuyee
3e16598f19
简化HasKey实现
2015-11-19 11:11:45 +08:00
kuuyee
c9284e989c
更改HasKey实现,直接判断GetKey结构是否为nil
2015-11-19 05:11:14 +08:00
kuuyee
6ba470dbde
根据PR审查意见进行修正
2015-11-18 16:51:19 +08:00
kuuyee
23a9382beb
新增HasKey和HasValue方法,用来判断键或值是否存在。
2015-11-18 06:54:31 +08: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
Brian Shore
67da474c43
Add uint flavors for key.In*() methods
2015-11-05 00:35:34 +00:00
Brian Shore
18cc772ced
Add support for Uint types
2015-11-04 23:52:40 +00: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