Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</p>

<p align="center">
<a href="https://pkg.go.dev/github.com/ruanklein/fmgo/v1"><img src="https://pkg.go.dev/badge/github.com/ruanklein/fmgo/v1.svg" alt="Go Reference"></a>
<a href="https://pkg.go.dev/github.com/ruanklein/fmgo"><img src="https://pkg.go.dev/badge/github.com/ruanklein/fmgo.svg" alt="Go Reference"></a>
<a href="LICENSE"><img src="https://img.shields.io/github/license/ruanklein/fmgo" alt="Apache-2.0 license"></a>
<a href="https://go.dev/"><img src="https://img.shields.io/github/go-mod/go-version/ruanklein/fmgo?label=Go" alt="Go version"></a>
</p>
Expand Down Expand Up @@ -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
Expand All @@ -60,7 +60,7 @@ import (
"fmt"
"log"

"github.com/ruanklein/fmgo/v1"
"github.com/ruanklein/fmgo"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion cmd/respond/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"log"

"github.com/ruanklein/fmgo/v1"
"github.com/ruanklein/fmgo"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"context"
"log"

"github.com/ruanklein/fmgo/v1"
"github.com/ruanklein/fmgo"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/stream/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"log"

"github.com/ruanklein/fmgo/v1"
"github.com/ruanklein/fmgo"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/structured/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"log"

"github.com/ruanklein/fmgo/v1"
"github.com/ruanklein/fmgo"
)

type person struct {
Expand Down
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os/exec"
"strings"

"github.com/ruanklein/fmgo/v1/internal/platform"
"github.com/ruanklein/fmgo/internal/platform"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"context"
"fmt"

"github.com/ruanklein/fmgo/v1"
"github.com/ruanklein/fmgo"
)

func Example() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/ruanklein/fmgo/v1
module github.com/ruanklein/fmgo

go 1.27.0
2 changes: 1 addition & 1 deletion process.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tests/fmgo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"strings"
"testing"

"github.com/ruanklein/fmgo/v1"
"github.com/ruanklein/fmgo"
)

func TestHelperProcess(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"testing"
"time"

"github.com/ruanklein/fmgo/v1"
"github.com/ruanklein/fmgo"
)

const nativeOperationTimeout = 90 * time.Second
Expand Down
2 changes: 1 addition & 1 deletion tests/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/ruanklein/fmgo/v1"
"github.com/ruanklein/fmgo"
)

const nativeSetupTimeout = 30 * time.Second
Expand Down