From 06f9ce8382c67ccf3b39214377f59f45102e54b1 Mon Sep 17 00:00:00 2001 From: Jacob Casper Date: Thu, 16 Apr 2020 21:18:49 -0500 Subject: [PATCH] Move backend to subdir --- .gitignore | 2 +- {client => backend/client}/client.go | 0 {db => backend/db}/db.go | 0 {env => backend/env}/env.go | 0 go.mod => backend/go.mod | 0 go.sum => backend/go.sum | 0 main.go => backend/main.go | 0 {migrations => backend/migrations}/001-create_artist.sql | 0 {migrations => backend/migrations}/002-create_genre.sql | 0 .../migrations}/003-create_artist_genre_xref.sql | 0 .../migrations}/004-create_scraped_artist.sql | 0 .../migrations}/005-alter_artist_add_popularity.sql | 0 {routes => backend/routes}/artist/artist.go | 0 {routes => backend/routes}/genre/genre.go | 0 {routes => backend/routes}/routes.go | 0 {scrape => backend/scrape}/graph/graph.go | 0 {scrape => backend/scrape}/seed/seed.go | 0 {types => backend/types}/artist.go | 0 {types => backend/types}/genre.go | 0 19 files changed, 1 insertion(+), 1 deletion(-) rename {client => backend/client}/client.go (100%) rename {db => backend/db}/db.go (100%) rename {env => backend/env}/env.go (100%) rename go.mod => backend/go.mod (100%) rename go.sum => backend/go.sum (100%) rename main.go => backend/main.go (100%) rename {migrations => backend/migrations}/001-create_artist.sql (100%) rename {migrations => backend/migrations}/002-create_genre.sql (100%) rename {migrations => backend/migrations}/003-create_artist_genre_xref.sql (100%) rename {migrations => backend/migrations}/004-create_scraped_artist.sql (100%) rename {migrations => backend/migrations}/005-alter_artist_add_popularity.sql (100%) rename {routes => backend/routes}/artist/artist.go (100%) rename {routes => backend/routes}/genre/genre.go (100%) rename {routes => backend/routes}/routes.go (100%) rename {scrape => backend/scrape}/graph/graph.go (100%) rename {scrape => backend/scrape}/seed/seed.go (100%) rename {types => backend/types}/artist.go (100%) rename {types => backend/types}/genre.go (100%) diff --git a/.gitignore b/.gitignore index f166cd5..f6cbb54 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ brackets* -*/seed/seed +backend/scrape/seed/seed secrets.sh vendor/ diff --git a/client/client.go b/backend/client/client.go similarity index 100% rename from client/client.go rename to backend/client/client.go diff --git a/db/db.go b/backend/db/db.go similarity index 100% rename from db/db.go rename to backend/db/db.go diff --git a/env/env.go b/backend/env/env.go similarity index 100% rename from env/env.go rename to backend/env/env.go diff --git a/go.mod b/backend/go.mod similarity index 100% rename from go.mod rename to backend/go.mod diff --git a/go.sum b/backend/go.sum similarity index 100% rename from go.sum rename to backend/go.sum diff --git a/main.go b/backend/main.go similarity index 100% rename from main.go rename to backend/main.go diff --git a/migrations/001-create_artist.sql b/backend/migrations/001-create_artist.sql similarity index 100% rename from migrations/001-create_artist.sql rename to backend/migrations/001-create_artist.sql diff --git a/migrations/002-create_genre.sql b/backend/migrations/002-create_genre.sql similarity index 100% rename from migrations/002-create_genre.sql rename to backend/migrations/002-create_genre.sql diff --git a/migrations/003-create_artist_genre_xref.sql b/backend/migrations/003-create_artist_genre_xref.sql similarity index 100% rename from migrations/003-create_artist_genre_xref.sql rename to backend/migrations/003-create_artist_genre_xref.sql diff --git a/migrations/004-create_scraped_artist.sql b/backend/migrations/004-create_scraped_artist.sql similarity index 100% rename from migrations/004-create_scraped_artist.sql rename to backend/migrations/004-create_scraped_artist.sql diff --git a/migrations/005-alter_artist_add_popularity.sql b/backend/migrations/005-alter_artist_add_popularity.sql similarity index 100% rename from migrations/005-alter_artist_add_popularity.sql rename to backend/migrations/005-alter_artist_add_popularity.sql diff --git a/routes/artist/artist.go b/backend/routes/artist/artist.go similarity index 100% rename from routes/artist/artist.go rename to backend/routes/artist/artist.go diff --git a/routes/genre/genre.go b/backend/routes/genre/genre.go similarity index 100% rename from routes/genre/genre.go rename to backend/routes/genre/genre.go diff --git a/routes/routes.go b/backend/routes/routes.go similarity index 100% rename from routes/routes.go rename to backend/routes/routes.go diff --git a/scrape/graph/graph.go b/backend/scrape/graph/graph.go similarity index 100% rename from scrape/graph/graph.go rename to backend/scrape/graph/graph.go diff --git a/scrape/seed/seed.go b/backend/scrape/seed/seed.go similarity index 100% rename from scrape/seed/seed.go rename to backend/scrape/seed/seed.go diff --git a/types/artist.go b/backend/types/artist.go similarity index 100% rename from types/artist.go rename to backend/types/artist.go diff --git a/types/genre.go b/backend/types/genre.go similarity index 100% rename from types/genre.go rename to backend/types/genre.go -- 2.20.1