From 1a13c79ee4ef843a3f2a5ea3660b34972661cef7 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sat, 28 Oct 2023 09:53:37 +0200 Subject: [PATCH] Fix go mod import path --- cmd/eval/main.go | 4 ++-- gg/decoder.go | 4 ++-- gg/decoder_test.go | 4 ++-- gg/gg.go | 2 +- go.mod | 2 +- vm/function.go | 4 ++-- vm/scope_global.go | 2 +- vm/vm.go | 4 ++-- vm/vm_test.go | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cmd/eval/main.go b/cmd/eval/main.go index 4c3d6e5..6361cc2 100644 --- a/cmd/eval/main.go +++ b/cmd/eval/main.go @@ -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() { diff --git a/gg/decoder.go b/gg/decoder.go index e3acbcf..e7d4e6c 100644 --- a/gg/decoder.go +++ b/gg/decoder.go @@ -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" ) diff --git a/gg/decoder_test.go b/gg/decoder_test.go index 8756046..68d54c5 100644 --- a/gg/decoder_test.go +++ b/gg/decoder_test.go @@ -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" ) diff --git a/gg/gg.go b/gg/gg.go index e5ef3f2..a60dde0 100644 --- a/gg/gg.go +++ b/gg/gg.go @@ -4,7 +4,7 @@ package gg import ( "fmt" - "github.com/mediocregopher/ginger/graph" + "code.betamike.com/mediocregopher/ginger/graph" ) // Type aliases for convenience diff --git a/go.mod b/go.mod index 6133929..c423522 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/mediocregopher/ginger +module code.betamike.com/mediocregopher/ginger go 1.18 diff --git a/vm/function.go b/vm/function.go index 59bc68e..9fb9d5d 100644 --- a/vm/function.go +++ b/vm/function.go @@ -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 diff --git a/vm/scope_global.go b/vm/scope_global.go index 0bb0a94..e36889e 100644 --- a/vm/scope_global.go +++ b/vm/scope_global.go @@ -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 { diff --git a/vm/vm.go b/vm/vm.go index 09372eb..4bdd4f0 100644 --- a/vm/vm.go +++ b/vm/vm.go @@ -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. diff --git a/vm/vm_test.go b/vm/vm_test.go index 9a0a706..18c093b 100644 --- a/vm/vm_test.go +++ b/vm/vm_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/mediocregopher/ginger/gg" + "code.betamike.com/mediocregopher/ginger/gg" "github.com/stretchr/testify/assert" )