Add String method to pgtype.BoundType

Character representation is much easier to read than numeric.
issue-342
Jack Christensen 2017-11-04 13:47:03 -05:00
parent e16749774d
commit d6cd3b1962
1 changed files with 4 additions and 0 deletions

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