Files
dolt/types/string.go
2015-06-12 15:22:27 -07:00

15 lines
261 B
Go

package types
type String interface {
Value
Blob() Blob
// Slurps the entire string into memory. You obviously don't want to do this if the string might be large.
String() string
}
func NewString(s string) String {
return flatString{s, &cachedRef{}}
}