diff --git a/algs4/Makefile b/algs4/Makefile index 928651e..e611588 100644 --- a/algs4/Makefile +++ b/algs4/Makefile @@ -1,4 +1,4 @@ -REPO_BASE := github.com/meatballhat/box-o-sand/algs4/go +REPO_BASE := github.com/meatballhat/box-o-sand/algs4/src/go TARGETS := \ $(REPO_BASE)/algs4 \ $(REPO_BASE)/algs4-binarysearch \ diff --git a/algs4/go/algs4-binarysearch/main.go b/algs4/src/go/algs4-binarysearch/main.go similarity index 93% rename from algs4/go/algs4-binarysearch/main.go rename to algs4/src/go/algs4-binarysearch/main.go index c661bde..b383f0c 100644 --- a/algs4/go/algs4-binarysearch/main.go +++ b/algs4/src/go/algs4-binarysearch/main.go @@ -8,7 +8,7 @@ import ( ) import ( - "github.com/meatballhat/box-o-sand/algs4/go/algs4" + "github.com/meatballhat/box-o-sand/algs4/src/go/algs4" ) const USAGE string = `Usage: algs4-binarysearch diff --git a/algs4/go/algs4-flips/main.go b/algs4/src/go/algs4-flips/main.go similarity index 93% rename from algs4/go/algs4-flips/main.go rename to algs4/src/go/algs4-flips/main.go index 9e77505..a3ff51d 100644 --- a/algs4/go/algs4-flips/main.go +++ b/algs4/src/go/algs4-flips/main.go @@ -10,7 +10,7 @@ import ( ) import ( - "github.com/meatballhat/box-o-sand/algs4/go/algs4" + "github.com/meatballhat/box-o-sand/algs4/src/go/algs4" ) const USAGE string = "Usage: algs4-flips " diff --git a/algs4/go/algs4-gcd/main.go b/algs4/src/go/algs4-gcd/main.go similarity index 88% rename from algs4/go/algs4-gcd/main.go rename to algs4/src/go/algs4-gcd/main.go index c9d0b12..aefdd0c 100644 --- a/algs4/go/algs4-gcd/main.go +++ b/algs4/src/go/algs4-gcd/main.go @@ -7,7 +7,7 @@ import ( ) import ( - "github.com/meatballhat/box-o-sand/algs4/go/algs4" + "github.com/meatballhat/box-o-sand/algs4/src/go/algs4" ) const USAGE string = `Usage: algs4-gcd ` diff --git a/algs4/go/algs4-rolls/main.go b/algs4/src/go/algs4-rolls/main.go similarity index 88% rename from algs4/go/algs4-rolls/main.go rename to algs4/src/go/algs4-rolls/main.go index 2d6a284..fec8921 100644 --- a/algs4/go/algs4-rolls/main.go +++ b/algs4/src/go/algs4-rolls/main.go @@ -7,7 +7,7 @@ import ( ) import ( - "github.com/meatballhat/box-o-sand/algs4/go/algs4" + "github.com/meatballhat/box-o-sand/algs4/src/go/algs4" ) const ( diff --git a/algs4/go/algs4/binarysearch.go b/algs4/src/go/algs4/binarysearch.go similarity index 100% rename from algs4/go/algs4/binarysearch.go rename to algs4/src/go/algs4/binarysearch.go diff --git a/algs4/go/algs4/binarysearch_test.go b/algs4/src/go/algs4/binarysearch_test.go similarity index 84% rename from algs4/go/algs4/binarysearch_test.go rename to algs4/src/go/algs4/binarysearch_test.go index 1d16436..f98991b 100644 --- a/algs4/go/algs4/binarysearch_test.go +++ b/algs4/src/go/algs4/binarysearch_test.go @@ -5,7 +5,7 @@ import ( ) import ( - "github.com/meatballhat/box-o-sand/algs4/go/algs4" + "github.com/meatballhat/box-o-sand/algs4/src/go/algs4" ) func TestBinarySearchRank(t *testing.T) { diff --git a/algs4/go/algs4/counter.go b/algs4/src/go/algs4/counter.go similarity index 100% rename from algs4/go/algs4/counter.go rename to algs4/src/go/algs4/counter.go diff --git a/algs4/go/algs4/gcd.go b/algs4/src/go/algs4/gcd.go similarity index 100% rename from algs4/go/algs4/gcd.go rename to algs4/src/go/algs4/gcd.go diff --git a/algs4/go/algs4/gcd_test.go b/algs4/src/go/algs4/gcd_test.go similarity index 74% rename from algs4/go/algs4/gcd_test.go rename to algs4/src/go/algs4/gcd_test.go index 887a9da..08aadd2 100644 --- a/algs4/go/algs4/gcd_test.go +++ b/algs4/src/go/algs4/gcd_test.go @@ -5,7 +5,7 @@ import ( ) import ( - "github.com/meatballhat/box-o-sand/algs4/go/algs4" + "github.com/meatballhat/box-o-sand/algs4/src/go/algs4" ) func TestGcd(t *testing.T) { diff --git a/algs4/go/algs4/io.go b/algs4/src/go/algs4/io.go similarity index 100% rename from algs4/go/algs4/io.go rename to algs4/src/go/algs4/io.go diff --git a/algs4/go/algs4/io_test.go b/algs4/src/go/algs4/io_test.go similarity index 91% rename from algs4/go/algs4/io_test.go rename to algs4/src/go/algs4/io_test.go index d89e2ab..11ca7f0 100644 --- a/algs4/go/algs4/io_test.go +++ b/algs4/src/go/algs4/io_test.go @@ -7,7 +7,7 @@ import ( ) import ( - "github.com/meatballhat/box-o-sand/algs4/go/algs4" + "github.com/meatballhat/box-o-sand/algs4/src/go/algs4" ) const INTS_STRING = ` diff --git a/algs4/go/algs4/rolls.go b/algs4/src/go/algs4/rolls.go similarity index 100% rename from algs4/go/algs4/rolls.go rename to algs4/src/go/algs4/rolls.go