mirror of
https://github.com/jackc/pgx.git
synced 2025-05-01 21:19:54 +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 {
|
||||
elements []ValueTranscoder
|
||||
dimensions []ArrayDimension
|
||||
status Status
|
||||
|
||||
typeName string
|
||||
elementOID uint32
|
||||
newElement func() ValueTranscoder
|
||||
|
||||
elementOID uint32
|
||||
status Status
|
||||
}
|
||||
|
||||
func NewArrayType(typeName string, elementOID uint32, newElement func() ValueTranscoder) *ArrayType {
|
||||
|
Loading…
x
Reference in New Issue
Block a user