diff --git a/go.mod b/go.mod index d318be2..943c31a 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/zizouhuweidi/go-terpreter +module github.com/zizouhuweidi/monke go 1.20 diff --git a/lexer/lexer.go b/lexer/lexer.go index 6ca1bd5..276589e 100644 --- a/lexer/lexer.go +++ b/lexer/lexer.go @@ -1,7 +1,7 @@ package lexer import ( - "github.com/zizouhuweidi/go-terpreter/token" + "github.com/zizouhuweidi/monke/token" ) type Lexer struct { diff --git a/lexer/lexer_test.go b/lexer/lexer_test.go index 3010369..683a14c 100644 --- a/lexer/lexer_test.go +++ b/lexer/lexer_test.go @@ -3,7 +3,7 @@ package lexer import ( "testing" - "github.com/zizouhuweidi/go-terpreter/token" + "github.com/zizouhuweidi/monke/token" ) func TestNextToken(t *testing.T) { diff --git a/main.go b/main.go index dd5bf77..b63df22 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import ( "os" "os/user" - "github.com/zizouhuweidi/go-terpreter/repl" + "github.com/zizouhuweidi/monke/repl" ) func main() { diff --git a/repl/repl.go b/repl/repl.go index ab8322b..3b6db1f 100644 --- a/repl/repl.go +++ b/repl/repl.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "github.com/zizouhuweidi/go-terpreter/lexer" - "github.com/zizouhuweidi/go-terpreter/token" + "github.com/zizouhuweidi/monke/lexer" + "github.com/zizouhuweidi/monke/token" ) const PROMPT = ">> " @@ -29,5 +29,4 @@ func Start(in io.Reader, out io.Writer) { fmt.Printf("%+v\n", tok) } } - }