From 491d21175a1963fa0ee890985695457300315cea Mon Sep 17 00:00:00 2001 From: Brian Amadio Date: Thu, 2 Sep 2021 13:12:50 -0700 Subject: [PATCH] rename package path to prepare for PR --- compile.go | 6 +++--- compiler/ast/ast.go | 2 +- compiler/compiler.go | 2 +- compiler/compiler_test.go | 4 ++-- compiler/lexer/lexer.go | 2 +- compiler/lexer/lexer_test.go | 2 +- compiler/parser/parser.go | 4 ++-- compiler/parser/parser_test.go | 4 ++-- go.mod | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/compile.go b/compile.go index 96633b4..afc1251 100644 --- a/compile.go +++ b/compile.go @@ -3,9 +3,9 @@ package planout import ( "encoding/json" - "github.com/stitchfix/planout-golang/compiler" - "github.com/stitchfix/planout-golang/compiler/lexer" - "github.com/stitchfix/planout-golang/compiler/parser" + "github.com/biased-unit/planout-golang/compiler" + "github.com/biased-unit/planout-golang/compiler/lexer" + "github.com/biased-unit/planout-golang/compiler/parser" ) func Compile(script string) (map[string]interface{}, error) { diff --git a/compiler/ast/ast.go b/compiler/ast/ast.go index 80fb987..4f8c331 100644 --- a/compiler/ast/ast.go +++ b/compiler/ast/ast.go @@ -1,7 +1,7 @@ package ast import ( - "github.com/stitchfix/planout-golang/compiler/token" + "github.com/biased-unit/planout-golang/compiler/token" ) // Statement denotes a top-level node such as an if statement, assignment statement, or return statement diff --git a/compiler/compiler.go b/compiler/compiler.go index 5a76237..f500fd2 100644 --- a/compiler/compiler.go +++ b/compiler/compiler.go @@ -3,7 +3,7 @@ package compiler import ( "bytes" "encoding/json" - "github.com/stitchfix/planout-golang/compiler/parser" + "github.com/biased-unit/planout-golang/compiler/parser" ) type Compiler struct { diff --git a/compiler/compiler_test.go b/compiler/compiler_test.go index 862e00b..c7e3bbf 100644 --- a/compiler/compiler_test.go +++ b/compiler/compiler_test.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "testing" - "github.com/stitchfix/planout-golang/compiler/lexer" - "github.com/stitchfix/planout-golang/compiler/parser" + "github.com/biased-unit/planout-golang/compiler/lexer" + "github.com/biased-unit/planout-golang/compiler/parser" "github.com/stretchr/testify/require" ) diff --git a/compiler/lexer/lexer.go b/compiler/lexer/lexer.go index 9d1ea9d..779ebeb 100644 --- a/compiler/lexer/lexer.go +++ b/compiler/lexer/lexer.go @@ -8,7 +8,7 @@ import ( "unicode" "unicode/utf8" - "github.com/stitchfix/planout-golang/compiler/token" + "github.com/biased-unit/planout-golang/compiler/token" ) const ( diff --git a/compiler/lexer/lexer_test.go b/compiler/lexer/lexer_test.go index 05a3ee5..a366862 100644 --- a/compiler/lexer/lexer_test.go +++ b/compiler/lexer/lexer_test.go @@ -3,7 +3,7 @@ package lexer import ( "testing" - "github.com/stitchfix/planout-golang/compiler/token" + "github.com/biased-unit/planout-golang/compiler/token" ) func TestLexer_NextItem(t *testing.T) { diff --git a/compiler/parser/parser.go b/compiler/parser/parser.go index 0efce39..5ce3735 100644 --- a/compiler/parser/parser.go +++ b/compiler/parser/parser.go @@ -7,8 +7,8 @@ import ( "fmt" "strconv" - "github.com/stitchfix/planout-golang/compiler/ast" - "github.com/stitchfix/planout-golang/compiler/token" + "github.com/biased-unit/planout-golang/compiler/ast" + "github.com/biased-unit/planout-golang/compiler/token" ) // precedence levels diff --git a/compiler/parser/parser_test.go b/compiler/parser/parser_test.go index 025ab25..a993b00 100644 --- a/compiler/parser/parser_test.go +++ b/compiler/parser/parser_test.go @@ -3,8 +3,8 @@ package parser import ( "testing" - "github.com/stitchfix/planout-golang/compiler/ast" - "github.com/stitchfix/planout-golang/compiler/lexer" + "github.com/biased-unit/planout-golang/compiler/ast" + "github.com/biased-unit/planout-golang/compiler/lexer" ) func TestAssignmentStatement(t *testing.T) { diff --git a/go.mod b/go.mod index aae1db6..b698e08 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/stitchfix/planout-golang +module github.com/biased-unit/planout-golang go 1.14