From d35500e3979fc75bfe76d8e727223ea039edef76 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Mon, 21 Feb 2022 14:32:55 -0600 Subject: [PATCH] Move pgio --- .travis.yml | 9 --------- LICENSE | 22 ---------------------- README.md | 11 ----------- go.mod | 3 --- pgio/README.md | 6 ++++++ doc.go => pgio/doc.go | 0 write.go => pgio/write.go | 0 write_test.go => pgio/write_test.go | 0 8 files changed, 6 insertions(+), 45 deletions(-) delete mode 100644 .travis.yml delete mode 100644 LICENSE delete mode 100644 README.md delete mode 100644 go.mod create mode 100644 pgio/README.md rename doc.go => pgio/doc.go (100%) rename write.go => pgio/write.go (100%) rename write_test.go => pgio/write_test.go (100%) diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e176228e..00000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: go - -go: - - 1.x - - tip - -matrix: - allow_failures: - - go: tip diff --git a/LICENSE b/LICENSE deleted file mode 100644 index c1c4f50f..00000000 --- a/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/README.md b/README.md deleted file mode 100644 index 1952ed86..00000000 --- a/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/go.mod b/go.mod deleted file mode 100644 index c1efdddb..00000000 --- a/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/jackc/pgio - -go 1.12 diff --git a/pgio/README.md b/pgio/README.md new file mode 100644 index 00000000..b2fc5801 --- /dev/null +++ b/pgio/README.md @@ -0,0 +1,6 @@ +# 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. diff --git a/doc.go b/pgio/doc.go similarity index 100% rename from doc.go rename to pgio/doc.go diff --git a/write.go b/pgio/write.go similarity index 100% rename from write.go rename to pgio/write.go diff --git a/write_test.go b/pgio/write_test.go similarity index 100% rename from write_test.go rename to pgio/write_test.go