2
0

Add satori-uuid type

Make pgtype.EncodeValueText public
This commit is contained in:
Jack Christensen
2017-04-14 16:46:39 -05:00
parent a8c350c77d
commit cab445ddd2
24 changed files with 283 additions and 22 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func DatabaseSQLValue(ci *ConnInfo, src Value) (interface{}, error) {
return nil, errors.New("cannot convert to database/sql compatible value")
}
func encodeValueText(src TextEncoder) (interface{}, error) {
func EncodeValueText(src TextEncoder) (interface{}, error) {
buf := &bytes.Buffer{}
null, err := src.EncodeText(nil, buf)
if err != nil {