Add String method to pgtype.BoundType
Character representation is much easier to read than numeric.
This commit is contained in:
@@ -16,6 +16,10 @@ const (
|
||||
Empty = BoundType('E')
|
||||
)
|
||||
|
||||
func (bt BoundType) String() string {
|
||||
return string(bt)
|
||||
}
|
||||
|
||||
type UntypedTextRange struct {
|
||||
Lower string
|
||||
Upper string
|
||||
|
||||
Reference in New Issue
Block a user