diff --git a/.github/workflows/inventory.yml b/.github/workflows/inventory.yml index f391e013..3af39d82 100644 --- a/.github/workflows/inventory.yml +++ b/.github/workflows/inventory.yml @@ -35,12 +35,12 @@ jobs: delimiter="$(openssl rand -hex 8)" { echo "msg<<${delimiter}" - cargo run --bin diff_inventory inventory.toml + cargo run --bin diff_inventory buildpacks/go/inventory.toml echo "${delimiter}" } >> $GITHUB_OUTPUT - name: Rebuild Inventory - run: "cargo run --bin update_inventory inventory.toml" + run: "cargo run --bin update_inventory buildpacks/go/inventory.toml" - name: Update Changelog run: echo "${{ steps.set-diff-msg.outputs.DIFF_MSG }}" | xargs -r -I '{}' perl -i -p -e 's/\[Unreleased\]\s+/[Unreleased]\n\n- {}/' CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 529835a9..17930ad8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Separated buildpack and supplementary binaries into independent crates. ([#200](https://github.com/heroku/buildpacks-go/pull/200)) + ## [0.1.13] - 2024-01-03 ### Added diff --git a/Cargo.lock b/Cargo.lock index 6ca7ceca..a43aaabc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -426,11 +426,10 @@ name = "heroku-go-buildpack" version = "0.0.0" dependencies = [ "flate2", + "heroku-go-utils", "libcnb", "libcnb-test", "libherokubuildpack", - "regex", - "semver", "serde", "serde_json", "sha2", @@ -441,6 +440,18 @@ dependencies = [ "ureq", ] +[[package]] +name = "heroku-go-utils" +version = "0.0.0" +dependencies = [ + "regex", + "semver", + "serde", + "thiserror", + "toml", + "ureq", +] + [[package]] name = "home" version = "0.5.5" diff --git a/Cargo.toml b/Cargo.toml index 46176bae..f47514f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,39 +1,27 @@ -[package] -name = "heroku-go-buildpack" +[workspace] +resolver = "2" +members = [ + "buildpacks/go", + "common/go-utils", +] + +[workspace.package] version = "0.0.0" -description = "Heroku Go Cloud Native Buildpack" +rust-version = "1.75" edition = "2021" publish = false -rust-version = "1.74" -[lints.rust] +[workspace.lints.rust] unreachable_pub = "warn" unsafe_code = "warn" -# TODO: Enable this lint once the lib target is split out to a shared code crate, -# which will reduce the false positives and make using this lint viable. +# TODO: Enable this lint once the heroku-go-utils binary targets are split into +# their own crates. This should reduce false positives and make this lint viable. # unused_crate_dependencies = "warn" -[lints.clippy] +[workspace.lints.clippy] panic_in_result_fn = "warn" pedantic = "warn" unwrap_used = "warn" -[dependencies] -flate2 = { version = "1", default-features = false, features = ["zlib"] } -# libcnb has a much bigger impact on buildpack behaviour than any other dependencies, -# so it's pinned to an exact version to isolate it from lockfile refreshes. -libcnb = { version = "=0.17.0", features = ["trace"] } -libherokubuildpack = { version = "=0.17.0", default-features = false, features = ["log"] } -regex = "1" -semver = "1" -serde = "1" -serde_json = "1" -sha2 = "0.10" -tar = "0.4" -tempfile = "3" -thiserror = "1" -toml = "0.8" -ureq = { version = "2", features = ["json"] } - -[dev-dependencies] -libcnb-test = "=0.17.0" +[profile.release] +strip = true diff --git a/buildpacks/go/Cargo.toml b/buildpacks/go/Cargo.toml new file mode 100644 index 00000000..adf87cc8 --- /dev/null +++ b/buildpacks/go/Cargo.toml @@ -0,0 +1,29 @@ +[package] +name = "heroku-go-buildpack" +description = "Heroku Go Cloud Native Buildpack" +version.workspace = true +rust-version.workspace = true +edition.workspace = true +publish.workspace = true + +[lints] +workspace = true + +[dependencies] +heroku-go-utils = { path = "../../common/go-utils" } +flate2 = { version = "1", default-features = false, features = ["zlib"] } +# libcnb has a much bigger impact on buildpack behaviour than any other dependencies, +# so it's pinned to an exact version to isolate it from lockfile refreshes. +libcnb = { version = "=0.17.0", features = ["trace"] } +libherokubuildpack = { version = "=0.17.0", default-features = false, features = ["log"] } +serde = "1" +serde_json = "1" +sha2 = "0.10" +tar = "0.4" +tempfile = "3" +thiserror = "1" +toml = "0.8" +ureq = { version = "2", features = ["json"] } + +[dev-dependencies] +libcnb-test = "=0.17.0" diff --git a/buildpack.toml b/buildpacks/go/buildpack.toml similarity index 100% rename from buildpack.toml rename to buildpacks/go/buildpack.toml diff --git a/inventory.toml b/buildpacks/go/inventory.toml similarity index 100% rename from inventory.toml rename to buildpacks/go/inventory.toml diff --git a/src/cfg.rs b/buildpacks/go/src/cfg.rs similarity index 96% rename from src/cfg.rs rename to buildpacks/go/src/cfg.rs index fef6fd93..86d8e3c8 100644 --- a/src/cfg.rs +++ b/buildpacks/go/src/cfg.rs @@ -1,4 +1,4 @@ -use heroku_go_buildpack::vrs::{Requirement, RequirementParseError}; +use heroku_go_utils::vrs::{Requirement, RequirementParseError}; use std::fs; use std::io::{BufRead, BufReader}; use std::path; diff --git a/src/cmd.rs b/buildpacks/go/src/cmd.rs similarity index 100% rename from src/cmd.rs rename to buildpacks/go/src/cmd.rs diff --git a/src/layers/build.rs b/buildpacks/go/src/layers/build.rs similarity index 100% rename from src/layers/build.rs rename to buildpacks/go/src/layers/build.rs diff --git a/src/layers/deps.rs b/buildpacks/go/src/layers/deps.rs similarity index 100% rename from src/layers/deps.rs rename to buildpacks/go/src/layers/deps.rs diff --git a/src/layers/dist.rs b/buildpacks/go/src/layers/dist.rs similarity index 98% rename from src/layers/dist.rs rename to buildpacks/go/src/layers/dist.rs index 2cdb834a..46f7629b 100644 --- a/src/layers/dist.rs +++ b/buildpacks/go/src/layers/dist.rs @@ -1,5 +1,5 @@ use crate::{tgz, GoBuildpack, GoBuildpackError}; -use heroku_go_buildpack::inv::Artifact; +use heroku_go_utils::inv::Artifact; use libcnb::build::BuildContext; use libcnb::data::layer_content_metadata::LayerTypes; use libcnb::layer::{ExistingLayerStrategy, Layer, LayerData, LayerResult, LayerResultBuilder}; diff --git a/src/layers/mod.rs b/buildpacks/go/src/layers/mod.rs similarity index 100% rename from src/layers/mod.rs rename to buildpacks/go/src/layers/mod.rs diff --git a/src/layers/target.rs b/buildpacks/go/src/layers/target.rs similarity index 100% rename from src/layers/target.rs rename to buildpacks/go/src/layers/target.rs diff --git a/src/main.rs b/buildpacks/go/src/main.rs similarity index 98% rename from src/main.rs rename to buildpacks/go/src/main.rs index 77c1b25f..35e6fe34 100644 --- a/src/main.rs +++ b/buildpacks/go/src/main.rs @@ -4,8 +4,8 @@ mod layers; mod proc; mod tgz; -use heroku_go_buildpack::inv::Inventory; -use heroku_go_buildpack::vrs::Requirement; +use heroku_go_utils::inv::Inventory; +use heroku_go_utils::vrs::Requirement; use layers::build::{BuildLayer, BuildLayerError}; use layers::deps::{DepsLayer, DepsLayerError}; use layers::dist::{DistLayer, DistLayerError}; diff --git a/src/proc.rs b/buildpacks/go/src/proc.rs similarity index 98% rename from src/proc.rs rename to buildpacks/go/src/proc.rs index caa2c7d8..ff446869 100644 --- a/src/proc.rs +++ b/buildpacks/go/src/proc.rs @@ -19,7 +19,7 @@ pub(crate) enum Error { /// # Examples /// /// ``` -/// let procs = heroku_go_buildpack::proc::build_procs( +/// let procs = heroku_go_utils::proc::build_procs( /// &["github.com/heroku/maple".to_string()] /// ).unwrap(); /// ``` diff --git a/src/tgz.rs b/buildpacks/go/src/tgz.rs similarity index 100% rename from src/tgz.rs rename to buildpacks/go/src/tgz.rs diff --git a/tests/fixtures/basic_http_116/go.mod b/buildpacks/go/tests/fixtures/basic_http_116/go.mod similarity index 100% rename from tests/fixtures/basic_http_116/go.mod rename to buildpacks/go/tests/fixtures/basic_http_116/go.mod diff --git a/tests/fixtures/basic_http_116/main.go b/buildpacks/go/tests/fixtures/basic_http_116/main.go similarity index 100% rename from tests/fixtures/basic_http_116/main.go rename to buildpacks/go/tests/fixtures/basic_http_116/main.go diff --git a/tests/fixtures/basic_http_119/go.mod b/buildpacks/go/tests/fixtures/basic_http_119/go.mod similarity index 100% rename from tests/fixtures/basic_http_119/go.mod rename to buildpacks/go/tests/fixtures/basic_http_119/go.mod diff --git a/tests/fixtures/basic_http_119/main.go b/buildpacks/go/tests/fixtures/basic_http_119/main.go similarity index 100% rename from tests/fixtures/basic_http_119/main.go rename to buildpacks/go/tests/fixtures/basic_http_119/main.go diff --git a/tests/fixtures/modules_gin_121/go.mod b/buildpacks/go/tests/fixtures/modules_gin_121/go.mod similarity index 100% rename from tests/fixtures/modules_gin_121/go.mod rename to buildpacks/go/tests/fixtures/modules_gin_121/go.mod diff --git a/tests/fixtures/modules_gin_121/go.sum b/buildpacks/go/tests/fixtures/modules_gin_121/go.sum similarity index 100% rename from tests/fixtures/modules_gin_121/go.sum rename to buildpacks/go/tests/fixtures/modules_gin_121/go.sum diff --git a/tests/fixtures/modules_gin_121/main.go b/buildpacks/go/tests/fixtures/modules_gin_121/main.go similarity index 100% rename from tests/fixtures/modules_gin_121/main.go rename to buildpacks/go/tests/fixtures/modules_gin_121/main.go diff --git a/tests/fixtures/vendor_fasthttp_120/go.mod b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/go.mod similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/go.mod rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/go.mod diff --git a/tests/fixtures/vendor_fasthttp_120/go.sum b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/go.sum similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/go.sum rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/go.sum diff --git a/tests/fixtures/vendor_fasthttp_120/main.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/main.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/main.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/main.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/LICENSE b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/LICENSE similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/LICENSE rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/LICENSE diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/README.md b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/README.md similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/README.md rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/README.md diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/backward_references.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/backward_references.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/backward_references.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/backward_references.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/backward_references_hq.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/backward_references_hq.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/backward_references_hq.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/backward_references_hq.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/bit_cost.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/bit_cost.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/bit_cost.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/bit_cost.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/bit_reader.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/bit_reader.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/bit_reader.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/bit_reader.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_command.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_command.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_command.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_command.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_distance.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_distance.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_distance.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_distance.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_literal.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_literal.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_literal.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/block_splitter_literal.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/brotli_bit_stream.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/brotli_bit_stream.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/brotli_bit_stream.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/brotli_bit_stream.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_command.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_command.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_command.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_command.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_distance.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_distance.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_distance.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_distance.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_literal.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_literal.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_literal.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/cluster_literal.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/command.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/command.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/command.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/command.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/compress_fragment.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/compress_fragment.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/compress_fragment.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/compress_fragment.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/compress_fragment_two_pass.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/compress_fragment_two_pass.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/compress_fragment_two_pass.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/compress_fragment_two_pass.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/constants.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/constants.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/constants.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/constants.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/context.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/context.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/context.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/context.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/decode.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/decode.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/decode.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/decode.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/dictionary.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/dictionary.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/dictionary.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/dictionary.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/dictionary_hash.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/dictionary_hash.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/dictionary_hash.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/dictionary_hash.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/encode.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/encode.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/encode.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/encode.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/encoder_dict.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/encoder_dict.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/encoder_dict.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/encoder_dict.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/entropy_encode.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/entropy_encode.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/entropy_encode.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/entropy_encode.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/entropy_encode_static.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/entropy_encode_static.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/entropy_encode_static.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/entropy_encode_static.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/fast_log.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/fast_log.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/fast_log.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/fast_log.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/find_match_length.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/find_match_length.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/find_match_length.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/find_match_length.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h10.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h10.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h10.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h10.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h5.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h5.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h5.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h5.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h6.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h6.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h6.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/h6.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_composite.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_composite.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_composite.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_composite.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_forgetful_chain.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_forgetful_chain.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_forgetful_chain.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_forgetful_chain.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_longest_match_quickly.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_longest_match_quickly.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_longest_match_quickly.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_longest_match_quickly.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_rolling.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_rolling.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_rolling.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/hash_rolling.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/histogram.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/histogram.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/histogram.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/histogram.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/http.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/http.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/http.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/http.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/huffman.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/huffman.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/huffman.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/huffman.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/literal_cost.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/literal_cost.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/literal_cost.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/literal_cost.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/memory.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/memory.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/memory.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/memory.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_command.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_command.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_command.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_command.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_distance.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_distance.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_distance.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_distance.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_literal.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_literal.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_literal.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/metablock_literal.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/params.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/params.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/params.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/params.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/platform.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/platform.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/platform.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/platform.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/prefix.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/prefix.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/prefix.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/prefix.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/prefix_dec.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/prefix_dec.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/prefix_dec.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/prefix_dec.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/quality.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/quality.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/quality.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/quality.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/reader.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/reader.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/reader.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/reader.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/ringbuffer.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/ringbuffer.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/ringbuffer.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/ringbuffer.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/state.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/state.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/state.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/state.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/static_dict.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/static_dict.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/static_dict.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/static_dict.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/static_dict_lut.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/static_dict_lut.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/static_dict_lut.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/static_dict_lut.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/symbol_list.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/symbol_list.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/symbol_list.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/symbol_list.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/transform.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/transform.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/transform.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/transform.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/utf8_util.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/utf8_util.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/utf8_util.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/utf8_util.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/util.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/util.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/util.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/util.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/write_bits.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/write_bits.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/write_bits.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/write_bits.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/writer.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/writer.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/writer.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/andybalholm/brotli/writer.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/LICENSE b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/LICENSE similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/LICENSE rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/LICENSE diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/deflate.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/deflate.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/deflate.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/deflate.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/dict_decoder.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/dict_decoder.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/dict_decoder.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/dict_decoder.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/fast_encoder.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/fast_encoder.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/fast_encoder.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/fast_encoder.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_bit_writer.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_bit_writer.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_bit_writer.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_bit_writer.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_code.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_code.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_code.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_code.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_sortByFreq.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_sortByFreq.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_sortByFreq.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_sortByFreq.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_sortByLiteral.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_sortByLiteral.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_sortByLiteral.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/huffman_sortByLiteral.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/inflate.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/inflate.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/inflate.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/inflate.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/inflate_gen.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/inflate_gen.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/inflate_gen.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/inflate_gen.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level1.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level1.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level1.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level1.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level2.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level2.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level2.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level2.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level3.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level3.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level3.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level3.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level4.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level4.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level4.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level4.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level5.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level5.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level5.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level5.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level6.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level6.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level6.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/level6.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/regmask_amd64.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/regmask_amd64.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/regmask_amd64.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/regmask_amd64.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/regmask_other.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/regmask_other.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/regmask_other.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/regmask_other.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/stateless.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/stateless.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/stateless.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/stateless.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/token.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/token.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/token.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/flate/token.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/gzip/gunzip.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/gzip/gunzip.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/gzip/gunzip.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/gzip/gunzip.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/gzip/gzip.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/gzip/gzip.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/gzip/gzip.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/gzip/gzip.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/zlib/reader.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/zlib/reader.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/zlib/reader.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/zlib/reader.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/zlib/writer.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/zlib/writer.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/zlib/writer.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/klauspost/compress/zlib/writer.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/.travis.yml b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/.travis.yml similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/.travis.yml rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/.travis.yml diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/LICENSE b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/LICENSE similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/LICENSE rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/LICENSE diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/README.md b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/README.md similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/README.md rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/README.md diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/bytebuffer.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/bytebuffer.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/bytebuffer.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/bytebuffer.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/doc.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/doc.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/doc.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/doc.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/pool.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/pool.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/pool.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/bytebufferpool/pool.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/.gitignore b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/.gitignore similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/.gitignore rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/.gitignore diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/LICENSE b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/LICENSE similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/LICENSE rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/LICENSE diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/README.md b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/README.md similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/README.md rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/README.md diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/SECURITY.md b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/SECURITY.md similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/SECURITY.md rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/SECURITY.md diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/TODO b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/TODO similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/TODO rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/TODO diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/args.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/args.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/args.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/args.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/brotli.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/brotli.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/brotli.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/brotli.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_32.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_32.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_32.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_32.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_64.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_64.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_64.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_64.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_table.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_table.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_table.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/bytesconv_table.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/client.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/client.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/client.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/client.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/coarseTime.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/coarseTime.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/coarseTime.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/coarseTime.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/compress.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/compress.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/compress.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/compress.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/cookie.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/cookie.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/cookie.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/cookie.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/doc.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/doc.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/doc.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/doc.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/doc.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/doc.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/doc.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/doc.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/inmemory_listener.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/inmemory_listener.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/inmemory_listener.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/inmemory_listener.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/pipeconns.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/pipeconns.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/pipeconns.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/pipeconns.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/rsa.key b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/rsa.key similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/rsa.key rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/rsa.key diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/rsa.pem b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/rsa.pem similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/rsa.pem rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fasthttputil/rsa.pem diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fs.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fs.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fs.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/fs.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/header.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/header.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/header.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/header.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/headers.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/headers.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/headers.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/headers.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/http.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/http.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/http.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/http.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/lbclient.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/lbclient.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/lbclient.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/lbclient.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/methods.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/methods.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/methods.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/methods.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/nocopy.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/nocopy.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/nocopy.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/nocopy.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/peripconn.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/peripconn.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/peripconn.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/peripconn.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/server.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/server.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/server.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/server.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/doc.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/doc.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/doc.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/doc.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/func.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/func.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/func.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/func.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/writer.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/writer.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/writer.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stackless/writer.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/status.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/status.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/status.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/status.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stream.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stream.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stream.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/stream.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/streaming.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/streaming.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/streaming.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/streaming.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/strings.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/strings.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/strings.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/strings.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcp.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcp.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcp.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcp.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcp_windows.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcp_windows.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcp_windows.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcp_windows.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcpdialer.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcpdialer.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcpdialer.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tcpdialer.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/timer.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/timer.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/timer.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/timer.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tls.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tls.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tls.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/tls.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri_unix.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri_unix.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri_unix.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri_unix.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri_windows.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri_windows.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri_windows.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/uri_windows.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/userdata.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/userdata.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/userdata.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/userdata.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/workerpool.go b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/workerpool.go similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/workerpool.go rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/github.com/valyala/fasthttp/workerpool.go diff --git a/tests/fixtures/vendor_fasthttp_120/vendor/modules.txt b/buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/modules.txt similarity index 100% rename from tests/fixtures/vendor_fasthttp_120/vendor/modules.txt rename to buildpacks/go/tests/fixtures/vendor_fasthttp_120/vendor/modules.txt diff --git a/tests/fixtures/vendor_gorilla_117/go.mod b/buildpacks/go/tests/fixtures/vendor_gorilla_117/go.mod similarity index 100% rename from tests/fixtures/vendor_gorilla_117/go.mod rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/go.mod diff --git a/tests/fixtures/vendor_gorilla_117/go.sum b/buildpacks/go/tests/fixtures/vendor_gorilla_117/go.sum similarity index 100% rename from tests/fixtures/vendor_gorilla_117/go.sum rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/go.sum diff --git a/tests/fixtures/vendor_gorilla_117/main.go b/buildpacks/go/tests/fixtures/vendor_gorilla_117/main.go similarity index 100% rename from tests/fixtures/vendor_gorilla_117/main.go rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/main.go diff --git a/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/AUTHORS b/buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/AUTHORS similarity index 100% rename from tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/AUTHORS rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/AUTHORS diff --git a/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/LICENSE b/buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/LICENSE similarity index 100% rename from tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/LICENSE rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/LICENSE diff --git a/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/README.md b/buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/README.md similarity index 100% rename from tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/README.md rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/README.md diff --git a/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/doc.go b/buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/doc.go similarity index 100% rename from tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/doc.go rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/doc.go diff --git a/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/go.mod b/buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/go.mod similarity index 100% rename from tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/go.mod rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/go.mod diff --git a/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/middleware.go b/buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/middleware.go similarity index 100% rename from tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/middleware.go rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/middleware.go diff --git a/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/mux.go b/buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/mux.go similarity index 100% rename from tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/mux.go rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/mux.go diff --git a/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/regexp.go b/buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/regexp.go similarity index 100% rename from tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/regexp.go rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/regexp.go diff --git a/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/route.go b/buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/route.go similarity index 100% rename from tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/route.go rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/route.go diff --git a/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/test_helpers.go b/buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/test_helpers.go similarity index 100% rename from tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/test_helpers.go rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/github.com/gorilla/mux/test_helpers.go diff --git a/tests/fixtures/vendor_gorilla_117/vendor/modules.txt b/buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/modules.txt similarity index 100% rename from tests/fixtures/vendor_gorilla_117/vendor/modules.txt rename to buildpacks/go/tests/fixtures/vendor_gorilla_117/vendor/modules.txt diff --git a/tests/fixtures/worker_http_118/cmd/script/main.go b/buildpacks/go/tests/fixtures/worker_http_118/cmd/script/main.go similarity index 100% rename from tests/fixtures/worker_http_118/cmd/script/main.go rename to buildpacks/go/tests/fixtures/worker_http_118/cmd/script/main.go diff --git a/tests/fixtures/worker_http_118/cmd/web/main.go b/buildpacks/go/tests/fixtures/worker_http_118/cmd/web/main.go similarity index 100% rename from tests/fixtures/worker_http_118/cmd/web/main.go rename to buildpacks/go/tests/fixtures/worker_http_118/cmd/web/main.go diff --git a/tests/fixtures/worker_http_118/cmd/worker/main.go b/buildpacks/go/tests/fixtures/worker_http_118/cmd/worker/main.go similarity index 100% rename from tests/fixtures/worker_http_118/cmd/worker/main.go rename to buildpacks/go/tests/fixtures/worker_http_118/cmd/worker/main.go diff --git a/tests/fixtures/worker_http_118/go.mod b/buildpacks/go/tests/fixtures/worker_http_118/go.mod similarity index 100% rename from tests/fixtures/worker_http_118/go.mod rename to buildpacks/go/tests/fixtures/worker_http_118/go.mod diff --git a/tests/integration_test.rs b/buildpacks/go/tests/integration_test.rs similarity index 100% rename from tests/integration_test.rs rename to buildpacks/go/tests/integration_test.rs diff --git a/common/go-utils/Cargo.toml b/common/go-utils/Cargo.toml new file mode 100644 index 00000000..77f1ffd8 --- /dev/null +++ b/common/go-utils/Cargo.toml @@ -0,0 +1,17 @@ +[package] +name = "heroku-go-utils" +description = "Libs and bins for the Heroku Go Buildpack" +version.workspace = true +rust-version.workspace = true +edition.workspace = true + +[lints] +workspace = true + +[dependencies] +regex = "1" +semver = "1" +serde = "1" +thiserror = "1" +toml = "0.8" +ureq = { version = "2", features = ["json"] } diff --git a/src/bin/diff_inventory.rs b/common/go-utils/src/bin/diff_inventory.rs similarity index 94% rename from src/bin/diff_inventory.rs rename to common/go-utils/src/bin/diff_inventory.rs index a0007298..f1c15dc4 100644 --- a/src/bin/diff_inventory.rs +++ b/common/go-utils/src/bin/diff_inventory.rs @@ -1,4 +1,4 @@ -use heroku_go_buildpack::inv::{list_github_go_versions, Artifact, Inventory}; +use heroku_go_utils::inv::{list_github_go_versions, Artifact, Inventory}; use std::collections::HashSet; /// Prints a human-readable software inventory difference. Useful diff --git a/src/bin/update_inventory.rs b/common/go-utils/src/bin/update_inventory.rs similarity index 96% rename from src/bin/update_inventory.rs rename to common/go-utils/src/bin/update_inventory.rs index 8e8140c8..2c60b3f9 100644 --- a/src/bin/update_inventory.rs +++ b/common/go-utils/src/bin/update_inventory.rs @@ -1,4 +1,4 @@ -use heroku_go_buildpack::inv::{list_github_go_versions, Artifact, Inventory}; +use heroku_go_utils::inv::{list_github_go_versions, Artifact, Inventory}; use std::collections::HashSet; use std::{env, fs, process}; diff --git a/src/inv.rs b/common/go-utils/src/inv.rs similarity index 96% rename from src/inv.rs rename to common/go-utils/src/inv.rs index 7e855f6c..2c2f709f 100644 --- a/src/inv.rs +++ b/common/go-utils/src/inv.rs @@ -48,7 +48,7 @@ impl Artifact { /// # Examples /// /// ``` - /// let art = heroku_go_buildpack::inv::Artifact::build("go1.16").unwrap(); + /// let art = heroku_go_utils::inv::Artifact::build("go1.16").unwrap(); /// ``` /// /// # Errors @@ -122,7 +122,7 @@ struct Tag { /// # Example /// /// ``` -/// let versions = heroku_go_buildpack::inv::list_github_go_versions().unwrap(); +/// let versions = heroku_go_utils::inv::list_github_go_versions().unwrap(); /// ``` /// /// # Errors diff --git a/src/lib.rs b/common/go-utils/src/lib.rs similarity index 100% rename from src/lib.rs rename to common/go-utils/src/lib.rs diff --git a/src/vrs.rs b/common/go-utils/src/vrs.rs similarity index 95% rename from src/vrs.rs rename to common/go-utils/src/vrs.rs index cfeffe87..bd4235a4 100644 --- a/src/vrs.rs +++ b/common/go-utils/src/vrs.rs @@ -22,7 +22,7 @@ impl Requirement { /// # Examples /// /// ``` - /// let req = heroku_go_buildpack::vrs::Requirement::parse("~1.0").unwrap(); + /// let req = heroku_go_utils::vrs::Requirement::parse("~1.0").unwrap(); /// ``` /// /// # Errors @@ -37,7 +37,7 @@ impl Requirement { /// # Examples /// /// ``` - /// let req = heroku_go_buildpack::vrs::Requirement::parse_go("go1.0").unwrap(); + /// let req = heroku_go_utils::vrs::Requirement::parse_go("go1.0").unwrap(); /// ``` /// /// # Errors @@ -99,7 +99,7 @@ impl Version { /// # Examples /// /// ``` - /// let req = heroku_go_buildpack::vrs::Version::parse("1.14.2").unwrap(); + /// let req = heroku_go_utils::vrs::Version::parse("1.14.2").unwrap(); /// ``` /// /// # Errors @@ -114,7 +114,7 @@ impl Version { /// # Examples /// /// ``` - /// let req = heroku_go_buildpack::vrs::Version::parse_go("go1.12").unwrap(); + /// let req = heroku_go_utils::vrs::Version::parse_go("go1.12").unwrap(); /// ``` /// /// # Errors