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 e16749774d
commit d6cd3b1962

View File

@ -16,6 +16,10 @@ const (
Empty = BoundType('E') Empty = BoundType('E')
) )
func (bt BoundType) String() string {
return string(bt)
}
type UntypedTextRange struct { type UntypedTextRange struct {
Lower string Lower string
Upper string Upper string