2
0

Add String method to pgtype.BoundType

Character representation is much easier to read than numeric.
This commit is contained in:
Jack Christensen
2017-11-04 13:47:03 -05:00
parent 6618ea669e
commit 5ab54cb24f
+4
View File
@@ -16,6 +16,10 @@ const (
Empty = BoundType('E')
)
func (bt BoundType) String() string {
return string(bt)
}
type UntypedTextRange struct {
Lower string
Upper string