Fix go mod import path

This commit is contained in:
Brian Picciano 2023-10-28 09:53:37 +02:00
parent da5d171479
commit 1a13c79ee4
9 changed files with 14 additions and 14 deletions

View File

@ -5,8 +5,8 @@ import (
"fmt"
"os"
"github.com/mediocregopher/ginger/gg"
"github.com/mediocregopher/ginger/vm"
"code.betamike.com/mediocregopher/ginger/gg"
"code.betamike.com/mediocregopher/ginger/vm"
)
func main() {

View File

@ -7,8 +7,8 @@ import (
"strconv"
"unicode"
. "github.com/mediocregopher/ginger/gg/grammar"
"github.com/mediocregopher/ginger/graph"
. "code.betamike.com/mediocregopher/ginger/gg/grammar"
"code.betamike.com/mediocregopher/ginger/graph"
"golang.org/x/exp/slices"
)

View File

@ -5,8 +5,8 @@ import (
"strconv"
"testing"
. "github.com/mediocregopher/ginger/gg/grammar"
"github.com/mediocregopher/ginger/graph"
. "code.betamike.com/mediocregopher/ginger/gg/grammar"
"code.betamike.com/mediocregopher/ginger/graph"
"github.com/stretchr/testify/assert"
)

View File

@ -4,7 +4,7 @@ package gg
import (
"fmt"
"github.com/mediocregopher/ginger/graph"
"code.betamike.com/mediocregopher/ginger/graph"
)
// Type aliases for convenience

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/mediocregopher/ginger
module code.betamike.com/mediocregopher/ginger
go 1.18

View File

@ -3,8 +3,8 @@ package vm
import (
"fmt"
"github.com/mediocregopher/ginger/gg"
"github.com/mediocregopher/ginger/graph"
"code.betamike.com/mediocregopher/ginger/gg"
"code.betamike.com/mediocregopher/ginger/graph"
)
// Function is an entity which accepts an argument Value and performs some

View File

@ -3,7 +3,7 @@ package vm
import (
"fmt"
"github.com/mediocregopher/ginger/gg"
"code.betamike.com/mediocregopher/ginger/gg"
)
func globalFn(fn func(Value) (Value, error)) Value {

View File

@ -7,8 +7,8 @@ import (
"io"
"strings"
"github.com/mediocregopher/ginger/gg"
"github.com/mediocregopher/ginger/graph"
"code.betamike.com/mediocregopher/ginger/gg"
"code.betamike.com/mediocregopher/ginger/graph"
)
// ZeroValue is a Value with no fields set. It is equivalent to the 0-tuple.

View File

@ -4,7 +4,7 @@ import (
"bytes"
"testing"
"github.com/mediocregopher/ginger/gg"
"code.betamike.com/mediocregopher/ginger/gg"
"github.com/stretchr/testify/assert"
)