add delim tag

This commit is contained in:
Unknwon
2015-01-02 19:36:38 +08:00
parent e78794531f
commit dae74d1713
2 changed files with 13 additions and 6 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ import (
)
type testNested struct {
Cities []string
Cities []string `delim:"|"`
Visits []time.Time
Note string
Unused int `ini:"-"`
@@ -52,7 +52,7 @@ Money = 1.25
Born = 1993-10-07T20:17:05Z
[Others]
Cities = HangZhou, Boston
Cities = HangZhou|Boston
Visits = 1993-10-07T20:17:05Z, 1993-10-07T20:17:05Z
Note = Hello world!