2
0

Add go module support

This commit is contained in:
Jack Christensen
2019-03-30 12:26:24 -05:00
parent 440fbf1581
commit 16176b5151
28 changed files with 41 additions and 26 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ package pgproto3
import (
"encoding/binary"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
"github.com/pkg/errors"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"encoding/binary"
"io"
"github.com/jackc/pgx/chunkreader"
"github.com/jackc/chunkreader"
"github.com/pkg/errors"
)
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"encoding/binary"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type BackendKeyData struct {
+1 -1
View File
@@ -3,7 +3,7 @@ package pgproto3_test
import (
"testing"
"github.com/jackc/pgx/pgproto3"
"github.com/jackc/pgproto3"
)
func TestBackendReceiveInterrupted(t *testing.T) {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"encoding/hex"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type Bind struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type Close struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type CommandComplete struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type CopyBothResponse struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"encoding/hex"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type CopyData struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type CopyFail struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type CopyInResponse struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type CopyOutResponse struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/hex"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type DataRow struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type Describe struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type Execute struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"encoding/binary"
"io"
"github.com/jackc/pgx/chunkreader"
"github.com/jackc/chunkreader"
"github.com/pkg/errors"
)
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"github.com/pkg/errors"
"github.com/jackc/pgx/pgproto3"
"github.com/jackc/pgproto3"
)
type interruptReader struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/hex"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type FunctionCallResponse struct {
+9
View File
@@ -0,0 +1,9 @@
module github.com/jackc/pgproto3
go 1.12
require (
github.com/jackc/chunkreader v1.0.0
github.com/jackc/pgio v1.0.0
github.com/pkg/errors v0.8.1
)
+6
View File
@@ -0,0 +1,6 @@
github.com/jackc/chunkreader v1.0.0 h1:4s39bBR8ByfqH+DKm8rQA3E1LHZWB9XWcrz8fqaZbe0=
github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo=
github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE=
github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type NotificationResponse struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type ParameterDescription struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type ParameterStatus struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type Parse struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type PasswordMessage struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
type Query struct {
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
)
const (
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"encoding/binary"
"encoding/json"
"github.com/jackc/pgx/pgio"
"github.com/jackc/pgio"
"github.com/pkg/errors"
)