From fd1a98f85875ad45f74a7dd0a3c646bec0323437 Mon Sep 17 00:00:00 2001 From: Jack Christensen <jack@jackchristensen.com> Date: Mon, 21 Feb 2022 14:27:05 -0600 Subject: [PATCH] Move and clean for import --- .travis.yml | 9 -------- LICENSE | 22 ------------------- README.md | 8 ------- chunkreader.go => chunkreader/chunkreader.go | 0 .../chunkreader_test.go | 0 go.mod | 3 --- 6 files changed, 42 deletions(-) delete mode 100644 .travis.yml delete mode 100644 LICENSE delete mode 100644 README.md rename chunkreader.go => chunkreader/chunkreader.go (100%) rename chunkreader_test.go => chunkreader/chunkreader_test.go (100%) delete mode 100644 go.mod 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 01209bfa..00000000 --- a/README.md +++ /dev/null @@ -1,8 +0,0 @@ -[](https://godoc.org/github.com/jackc/chunkreader) -[](https://travis-ci.org/jackc/chunkreader) - -# chunkreader - -Package chunkreader provides an io.Reader wrapper that minimizes IO reads and memory allocations. - -Extracted from original implementation in https://github.com/jackc/pgx. diff --git a/chunkreader.go b/chunkreader/chunkreader.go similarity index 100% rename from chunkreader.go rename to chunkreader/chunkreader.go diff --git a/chunkreader_test.go b/chunkreader/chunkreader_test.go similarity index 100% rename from chunkreader_test.go rename to chunkreader/chunkreader_test.go diff --git a/go.mod b/go.mod deleted file mode 100644 index a1384b40..00000000 --- a/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/jackc/chunkreader/v2 - -go 1.12