diff options
author | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | 2015-06-18 23:04:28 +0900 |
---|---|---|
committer | Fumitoshi Ukai <fumitoshi.ukai@gmail.com> | 2015-06-18 23:04:28 +0900 |
commit | dd248f268ca290abc999a8d1b4f5d24dc0317cdc (patch) | |
tree | 52c67ca5288a7c79454494d3afc02299c42dfb57 /serialize.go | |
parent | 5a374593daddc502fd0ee020de31007d173a0c87 (diff) | |
download | kati-dd248f268ca290abc999a8d1b4f5d24dc0317cdc.tar.gz |
split SimpleVar to SimpleVar and AutomaticVar
SimpleVar uses string, while AutomaticVar uses []byte
Diffstat (limited to 'serialize.go')
-rw-r--r-- | serialize.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize.go b/serialize.go index 4ee0b29..fbcbed0 100644 --- a/serialize.go +++ b/serialize.go @@ -354,7 +354,7 @@ func DeserializeVar(sv SerializableVar) (r Value) { case "simple": return &SimpleVar{ - value: []byte(sv.V), + value: sv.V, origin: sv.Origin, } case "recursive": |