From 4dcdfdcd37674aef463351e47faac2dec225cde0 Mon Sep 17 00:00:00 2001
From: Ruan
Date: Sun, 20 Sep 2026 16:05:05 -0300
Subject: [PATCH] fix(module): remove invalid v1 suffix
---
README.md | 6 +++---
chat.go | 2 +-
client.go | 2 +-
cmd/respond/main.go | 2 +-
cmd/server/main.go | 2 +-
cmd/stream/main.go | 2 +-
cmd/structured/main.go | 2 +-
errors.go | 2 +-
example_test.go | 2 +-
go.mod | 2 +-
process.go | 2 +-
server.go | 2 +-
stream.go | 2 +-
tests/fmgo_test.go | 2 +-
tests/integration_test.go | 2 +-
tests/main_test.go | 2 +-
16 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/README.md b/README.md
index 68eeeeb..1040fdb 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
-
+
@@ -47,7 +47,7 @@ the native executable cannot be located.
## Installation
```bash
-go get github.com/ruanklein/fmgo/v1
+go get github.com/ruanklein/fmgo
```
## Quick Start
@@ -60,7 +60,7 @@ import (
"fmt"
"log"
- "github.com/ruanklein/fmgo/v1"
+ "github.com/ruanklein/fmgo"
)
func main() {
diff --git a/chat.go b/chat.go
index 2d799cf..c7d1786 100644
--- a/chat.go
+++ b/chat.go
@@ -8,7 +8,7 @@ import (
"io"
"sync"
- internalprocess "github.com/ruanklein/fmgo/v1/internal/process"
+ internalprocess "github.com/ruanklein/fmgo/internal/process"
)
// ChatOptions configures an interactive fm chat session.
diff --git a/client.go b/client.go
index f540931..c489469 100644
--- a/client.go
+++ b/client.go
@@ -7,7 +7,7 @@ import (
"errors"
"os/exec"
- "github.com/ruanklein/fmgo/v1/internal/platform"
+ "github.com/ruanklein/fmgo/internal/platform"
)
// Client invokes the native fm executable.
diff --git a/cmd/respond/main.go b/cmd/respond/main.go
index 8b2edae..69f8c2a 100644
--- a/cmd/respond/main.go
+++ b/cmd/respond/main.go
@@ -7,7 +7,7 @@ import (
"fmt"
"log"
- "github.com/ruanklein/fmgo/v1"
+ "github.com/ruanklein/fmgo"
)
func main() {
diff --git a/cmd/server/main.go b/cmd/server/main.go
index cc8738d..127bdb7 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -6,7 +6,7 @@ import (
"context"
"log"
- "github.com/ruanklein/fmgo/v1"
+ "github.com/ruanklein/fmgo"
)
func main() {
diff --git a/cmd/stream/main.go b/cmd/stream/main.go
index 92f3d7a..1620c19 100644
--- a/cmd/stream/main.go
+++ b/cmd/stream/main.go
@@ -7,7 +7,7 @@ import (
"fmt"
"log"
- "github.com/ruanklein/fmgo/v1"
+ "github.com/ruanklein/fmgo"
)
func main() {
diff --git a/cmd/structured/main.go b/cmd/structured/main.go
index fce8bfd..4700976 100644
--- a/cmd/structured/main.go
+++ b/cmd/structured/main.go
@@ -7,7 +7,7 @@ import (
"fmt"
"log"
- "github.com/ruanklein/fmgo/v1"
+ "github.com/ruanklein/fmgo"
)
type person struct {
diff --git a/errors.go b/errors.go
index c6b1276..a1fd297 100644
--- a/errors.go
+++ b/errors.go
@@ -8,7 +8,7 @@ import (
"os/exec"
"strings"
- "github.com/ruanklein/fmgo/v1/internal/platform"
+ "github.com/ruanklein/fmgo/internal/platform"
)
var (
diff --git a/example_test.go b/example_test.go
index 75c6ed1..3ac3592 100644
--- a/example_test.go
+++ b/example_test.go
@@ -6,7 +6,7 @@ import (
"context"
"fmt"
- "github.com/ruanklein/fmgo/v1"
+ "github.com/ruanklein/fmgo"
)
func Example() {
diff --git a/go.mod b/go.mod
index 3487746..9af1fea 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,3 @@
-module github.com/ruanklein/fmgo/v1
+module github.com/ruanklein/fmgo
go 1.27.0
diff --git a/process.go b/process.go
index c0eb9f2..9d10e9b 100644
--- a/process.go
+++ b/process.go
@@ -5,7 +5,7 @@ package fmgo
import (
"context"
- internalprocess "github.com/ruanklein/fmgo/v1/internal/process"
+ internalprocess "github.com/ruanklein/fmgo/internal/process"
)
type commandResult struct {
diff --git a/server.go b/server.go
index 2fc056f..5b24c86 100644
--- a/server.go
+++ b/server.go
@@ -9,7 +9,7 @@ import (
"sync"
"time"
- internalprocess "github.com/ruanklein/fmgo/v1/internal/process"
+ internalprocess "github.com/ruanklein/fmgo/internal/process"
)
// ServerOptions configures the native fm serve process.
diff --git a/stream.go b/stream.go
index 72dfb73..e1c65a7 100644
--- a/stream.go
+++ b/stream.go
@@ -7,7 +7,7 @@ import (
"io"
"sync"
- internalprocess "github.com/ruanklein/fmgo/v1/internal/process"
+ internalprocess "github.com/ruanklein/fmgo/internal/process"
)
// Stream incrementally reads a response from fm. Text returns the latest read block.
diff --git a/tests/fmgo_test.go b/tests/fmgo_test.go
index 3c52762..e3921e2 100644
--- a/tests/fmgo_test.go
+++ b/tests/fmgo_test.go
@@ -12,7 +12,7 @@ import (
"strings"
"testing"
- "github.com/ruanklein/fmgo/v1"
+ "github.com/ruanklein/fmgo"
)
func TestHelperProcess(t *testing.T) {
diff --git a/tests/integration_test.go b/tests/integration_test.go
index 2193e7c..c0f086d 100644
--- a/tests/integration_test.go
+++ b/tests/integration_test.go
@@ -19,7 +19,7 @@ import (
"testing"
"time"
- "github.com/ruanklein/fmgo/v1"
+ "github.com/ruanklein/fmgo"
)
const nativeOperationTimeout = 90 * time.Second
diff --git a/tests/main_test.go b/tests/main_test.go
index 80651d6..c622636 100644
--- a/tests/main_test.go
+++ b/tests/main_test.go
@@ -9,7 +9,7 @@ import (
"testing"
"time"
- "github.com/ruanklein/fmgo/v1"
+ "github.com/ruanklein/fmgo"
)
const nativeSetupTimeout = 30 * time.Second