github.com/jackc/pgtype.CIDRArray.Elements (field)
30 uses
github.com/jackc/pgtype (current package)
cidr_array.go#L16: Elements []CIDR
cidr_array.go#L51: Elements: elements,
cidr_array.go#L70: Elements: elements,
cidr_array.go#L89: Elements: elements,
cidr_array.go#L102: Elements: value,
cidr_array.go#L133: Elements: make([]CIDR, elementsLength),
cidr_array.go#L150: dst.Elements = make([]CIDR, elementsLength)
cidr_array.go#L159: if elementCount != len(dst.Elements) {
cidr_array.go#L160: return fmt.Errorf("cannot convert %v to CIDRArray, expected %d dst.Elements, but got %d instead", src, len(dst.Elements), elementCount)
cidr_array.go#L193: if err := dst.Elements[index].Set(value.Interface()); err != nil {
cidr_array.go#L220: *v = make([]*net.IPNet, len(src.Elements))
cidr_array.go#L221: for i := range src.Elements {
cidr_array.go#L222: if err := src.Elements[i].AssignTo(&((*v)[i])); err != nil {
cidr_array.go#L229: *v = make([]net.IP, len(src.Elements))
cidr_array.go#L230: for i := range src.Elements {
cidr_array.go#L231: if err := src.Elements[i].AssignTo(&((*v)[i])); err != nil {
cidr_array.go#L238: *v = make([]*net.IP, len(src.Elements))
cidr_array.go#L239: for i := range src.Elements {
cidr_array.go#L240: if err := src.Elements[i].AssignTo(&((*v)[i])); err != nil {
cidr_array.go#L268: if len(src.Elements) == 0 {
cidr_array.go#L279: if elementCount != len(src.Elements) {
cidr_array.go#L280: return fmt.Errorf("cannot assign %v, needed to assign %d elements, but only assigned %d", dst, len(src.Elements), elementCount)
cidr_array.go#L331: if err := src.Elements[index].AssignTo(addr.Interface()); err != nil {
cidr_array.go#L369: *dst = CIDRArray{Elements: elements, Dimensions: uta.Dimensions, Status: Present}
cidr_array.go#L412: *dst = CIDRArray{Elements: elements, Dimensions: arrayHeader.Dimensions, Status: Present}
cidr_array.go#L442: for i, elem := range src.Elements {
cidr_array.go#L491: for i := range src.Elements {
cidr_array.go#L492: if src.Elements[i].Status == Null {
cidr_array.go#L500: for i := range src.Elements {
cidr_array.go#L504: elemBuf, err := src.Elements[i].EncodeBinary(ci, buf)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |