Add Value::Ref()

This commit is contained in:
Aaron Boodman
2015-06-12 15:22:27 -07:00
parent 573468cfc6
commit 53003f23f2
32 changed files with 366 additions and 58 deletions
+1 -1
View File
@@ -10,5 +10,5 @@ type String interface {
}
func NewString(s string) String {
return flatString{s}
return flatString{s, &cachedRef{}}
}