mirror of
https://github.com/jackc/pgx.git
synced 2025-05-03 06:00:18 +00:00
Merge pull request #47 from bakape/fix/struct-padding
optimise struct padding
This commit is contained in:
commit
aa245bcc44
@ -15,11 +15,12 @@ import (
|
|||||||
type ArrayType struct {
|
type ArrayType struct {
|
||||||
elements []ValueTranscoder
|
elements []ValueTranscoder
|
||||||
dimensions []ArrayDimension
|
dimensions []ArrayDimension
|
||||||
status Status
|
|
||||||
|
|
||||||
typeName string
|
typeName string
|
||||||
elementOID uint32
|
|
||||||
newElement func() ValueTranscoder
|
newElement func() ValueTranscoder
|
||||||
|
|
||||||
|
elementOID uint32
|
||||||
|
status Status
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewArrayType(typeName string, elementOID uint32, newElement func() ValueTranscoder) *ArrayType {
|
func NewArrayType(typeName string, elementOID uint32, newElement func() ValueTranscoder) *ArrayType {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user