From c75e4a688da472c238f0f282276076dc2ca3d962 Mon Sep 17 00:00:00 2001 From: August Vi Date: Sat, 10 Oct 2026 21:54:27 -0700 Subject: [PATCH] Say in the README that a replace directive cannot stand in for the import rewrite. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 2e9eed8..bef80a2 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,11 @@ On Linux drop the `''` after `sed -i`. Tags up to v1.4.0 are upstream's and declare the upstream module path, so v1.4.1 is the first version that resolves under the new path. +A `replace github.com/jmoiron/sqlx => github.com/secondwindoss/sqlx v1.4.1` +directive does not work: the fork imports its own `reflectx` package under +the new path, and Go refuses to use one module under two paths. Rewrite the +imports instead. + ## Recent Changes 1.4.1: