summaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/pgio
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/jackc/pgio')
-rw-r--r--vendor/github.com/jackc/pgio/.travis.yml9
-rw-r--r--vendor/github.com/jackc/pgio/LICENSE22
-rw-r--r--vendor/github.com/jackc/pgio/README.md11
-rw-r--r--vendor/github.com/jackc/pgio/doc.go6
-rw-r--r--vendor/github.com/jackc/pgio/write.go40
5 files changed, 0 insertions, 88 deletions
diff --git a/vendor/github.com/jackc/pgio/.travis.yml b/vendor/github.com/jackc/pgio/.travis.yml
deleted file mode 100644
index e176228e8..000000000
--- a/vendor/github.com/jackc/pgio/.travis.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-language: go
-
-go:
- - 1.x
- - tip
-
-matrix:
- allow_failures:
- - go: tip
diff --git a/vendor/github.com/jackc/pgio/LICENSE b/vendor/github.com/jackc/pgio/LICENSE
deleted file mode 100644
index c1c4f50fc..000000000
--- a/vendor/github.com/jackc/pgio/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-Copyright (c) 2019 Jack Christensen
-
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/vendor/github.com/jackc/pgio/README.md b/vendor/github.com/jackc/pgio/README.md
deleted file mode 100644
index 1952ed862..000000000
--- a/vendor/github.com/jackc/pgio/README.md
+++ /dev/null
@@ -1,11 +0,0 @@
-[![](https://godoc.org/github.com/jackc/pgio?status.svg)](https://godoc.org/github.com/jackc/pgio)
-[![Build Status](https://travis-ci.org/jackc/pgio.svg)](https://travis-ci.org/jackc/pgio)
-
-# pgio
-
-Package pgio is a low-level toolkit building messages in the PostgreSQL wire protocol.
-
-pgio provides functions for appending integers to a []byte while doing byte
-order conversion.
-
-Extracted from original implementation in https://github.com/jackc/pgx.
diff --git a/vendor/github.com/jackc/pgio/doc.go b/vendor/github.com/jackc/pgio/doc.go
deleted file mode 100644
index ef2dcc7f7..000000000
--- a/vendor/github.com/jackc/pgio/doc.go
+++ /dev/null
@@ -1,6 +0,0 @@
-// Package pgio is a low-level toolkit building messages in the PostgreSQL wire protocol.
-/*
-pgio provides functions for appending integers to a []byte while doing byte
-order conversion.
-*/
-package pgio
diff --git a/vendor/github.com/jackc/pgio/write.go b/vendor/github.com/jackc/pgio/write.go
deleted file mode 100644
index 96aedf9dd..000000000
--- a/vendor/github.com/jackc/pgio/write.go
+++ /dev/null
@@ -1,40 +0,0 @@
-package pgio
-
-import "encoding/binary"
-
-func AppendUint16(buf []byte, n uint16) []byte {
- wp := len(buf)
- buf = append(buf, 0, 0)
- binary.BigEndian.PutUint16(buf[wp:], n)
- return buf
-}
-
-func AppendUint32(buf []byte, n uint32) []byte {
- wp := len(buf)
- buf = append(buf, 0, 0, 0, 0)
- binary.BigEndian.PutUint32(buf[wp:], n)
- return buf
-}
-
-func AppendUint64(buf []byte, n uint64) []byte {
- wp := len(buf)
- buf = append(buf, 0, 0, 0, 0, 0, 0, 0, 0)
- binary.BigEndian.PutUint64(buf[wp:], n)
- return buf
-}
-
-func AppendInt16(buf []byte, n int16) []byte {
- return AppendUint16(buf, uint16(n))
-}
-
-func AppendInt32(buf []byte, n int32) []byte {
- return AppendUint32(buf, uint32(n))
-}
-
-func AppendInt64(buf []byte, n int64) []byte {
- return AppendUint64(buf, uint64(n))
-}
-
-func SetInt32(buf []byte, n int32) {
- binary.BigEndian.PutUint32(buf, uint32(n))
-}