diff --git a/.gitignore b/.gitignore index 14761d1..20f8467 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/rmsn.sqlite +/server/craban.sqlite diff --git a/Makefile b/Makefile index 4f74fca..053bfef 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ .PHONY: fmt fmt: - go fmt ./... + cd server && go fmt ./... .PHONY: mod mod: - go mod vendor - go mod tidy + cd server && go mod vendor + cd server && go mod tidy .PHONY: test test: - go test -v -race ./... + cd server && go test -v -race ./... diff --git a/README.md b/README.md index 81baf4d..99f2836 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# RMSN +# Craban ## Config -Default configuration can be found in the [rmsn.yml](./rmsn.yml) file -at the root of the repository. +Default configuration can be found in the [craban.yml](./craban.yml) +file at the root of the repository. ## Roadmap @@ -16,6 +16,6 @@ at the root of the repository. - [ ] Add webapp make targets - [ ] Add bundle and install make targets - [ ] Create basic webapp structure and development workflow -- [ ] Think of a better name +- [X] Think of a better name - [ ] Add email config and communications - [ ] Add webpush notifications diff --git a/rmsn.yml b/rmsn.yml deleted file mode 100644 index 494d8a9..0000000 --- a/rmsn.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -database_path: rmsn.sqlite -port: 8080 diff --git a/cmd/rmsn/rmsn.go b/server/cmd/craban/craban.go similarity index 81% rename from cmd/rmsn/rmsn.go rename to server/cmd/craban/craban.go index e767f40..2a8e122 100644 --- a/cmd/rmsn/rmsn.go +++ b/server/cmd/craban/craban.go @@ -6,11 +6,11 @@ import ( "os" "os/signal" - "git.ctrlz.es/mgdelacroix/rmsn/server" + "git.ctrlz.es/mgdelacroix/craban/server" ) func main() { - configFlag := flag.String("config", "rmsn.yml", "the configuration path") + configFlag := flag.String("config", "craban.yml", "the configuration path") flag.Parse() srv, err := server.NewServerWithConfigPath(*configFlag) @@ -24,7 +24,7 @@ func main() { closed := make(chan bool, 1) go func() { - fmt.Println("Starting rmsn") + fmt.Println("Starting craban") if err := srv.Start(); err != nil { fmt.Fprintf(os.Stderr, "error running server: %s", err) os.Exit(1) diff --git a/server/craban.yml b/server/craban.yml new file mode 100644 index 0000000..af81788 --- /dev/null +++ b/server/craban.yml @@ -0,0 +1,3 @@ +--- +database_path: craban.sqlite +port: 8080 diff --git a/go.mod b/server/go.mod similarity index 94% rename from go.mod rename to server/go.mod index 609aed8..053d90f 100644 --- a/go.mod +++ b/server/go.mod @@ -1,4 +1,4 @@ -module git.ctrlz.es/mgdelacroix/rmsn +module git.ctrlz.es/mgdelacroix/craban go 1.17 diff --git a/go.sum b/server/go.sum similarity index 100% rename from go.sum rename to server/go.sum diff --git a/model/config.go b/server/model/config.go similarity index 100% rename from model/config.go rename to server/model/config.go diff --git a/model/game.go b/server/model/game.go similarity index 100% rename from model/game.go rename to server/model/game.go diff --git a/model/game_member.go b/server/model/game_member.go similarity index 100% rename from model/game_member.go rename to server/model/game_member.go diff --git a/model/user.go b/server/model/user.go similarity index 100% rename from model/user.go rename to server/model/user.go diff --git a/model/utils.go b/server/model/utils.go similarity index 100% rename from model/utils.go rename to server/model/utils.go diff --git a/server/server.go b/server/server/server.go similarity index 90% rename from server/server.go rename to server/server/server.go index 668d81f..04d52f5 100644 --- a/server/server.go +++ b/server/server/server.go @@ -3,9 +3,9 @@ package server import ( "fmt" - "git.ctrlz.es/mgdelacroix/rmsn/model" - "git.ctrlz.es/mgdelacroix/rmsn/services/store" - "git.ctrlz.es/mgdelacroix/rmsn/web" + "git.ctrlz.es/mgdelacroix/craban/model" + "git.ctrlz.es/mgdelacroix/craban/services/store" + "git.ctrlz.es/mgdelacroix/craban/web" ) type Server struct { diff --git a/services/store/store.go b/server/services/store/store.go similarity index 100% rename from services/store/store.go rename to server/services/store/store.go diff --git a/services/store/store_test.go b/server/services/store/store_test.go similarity index 100% rename from services/store/store_test.go rename to server/services/store/store_test.go diff --git a/services/store/testlib.go b/server/services/store/testlib.go similarity index 94% rename from services/store/testlib.go rename to server/services/store/testlib.go index 4465ad7..7d0286a 100644 --- a/services/store/testlib.go +++ b/server/services/store/testlib.go @@ -3,7 +3,7 @@ package store import ( "testing" - "git.ctrlz.es/mgdelacroix/rmsn/model" + "git.ctrlz.es/mgdelacroix/craban/model" "github.com/icrowley/fake" "github.com/stretchr/testify/require" diff --git a/services/store/user.go b/server/services/store/user.go similarity index 97% rename from services/store/user.go rename to server/services/store/user.go index 0d0f26a..91c2a54 100644 --- a/services/store/user.go +++ b/server/services/store/user.go @@ -5,7 +5,7 @@ import ( sq "github.com/Masterminds/squirrel" - "git.ctrlz.es/mgdelacroix/rmsn/model" + "git.ctrlz.es/mgdelacroix/craban/model" ) var userColumns = []string{"id", "name", "mail", "username", "password"} diff --git a/services/store/user_test.go b/server/services/store/user_test.go similarity index 96% rename from services/store/user_test.go rename to server/services/store/user_test.go index 6e5d38e..bb1b864 100644 --- a/services/store/user_test.go +++ b/server/services/store/user_test.go @@ -3,7 +3,7 @@ package store import ( "testing" - "git.ctrlz.es/mgdelacroix/rmsn/model" + "git.ctrlz.es/mgdelacroix/craban/model" "github.com/stretchr/testify/require" ) diff --git a/vendor/github.com/Masterminds/squirrel/.gitignore b/server/vendor/github.com/Masterminds/squirrel/.gitignore similarity index 100% rename from vendor/github.com/Masterminds/squirrel/.gitignore rename to server/vendor/github.com/Masterminds/squirrel/.gitignore diff --git a/vendor/github.com/Masterminds/squirrel/.travis.yml b/server/vendor/github.com/Masterminds/squirrel/.travis.yml similarity index 100% rename from vendor/github.com/Masterminds/squirrel/.travis.yml rename to server/vendor/github.com/Masterminds/squirrel/.travis.yml diff --git a/vendor/github.com/Masterminds/squirrel/LICENSE.txt b/server/vendor/github.com/Masterminds/squirrel/LICENSE.txt similarity index 100% rename from vendor/github.com/Masterminds/squirrel/LICENSE.txt rename to server/vendor/github.com/Masterminds/squirrel/LICENSE.txt diff --git a/vendor/github.com/Masterminds/squirrel/README.md b/server/vendor/github.com/Masterminds/squirrel/README.md similarity index 100% rename from vendor/github.com/Masterminds/squirrel/README.md rename to server/vendor/github.com/Masterminds/squirrel/README.md diff --git a/vendor/github.com/Masterminds/squirrel/case.go b/server/vendor/github.com/Masterminds/squirrel/case.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/case.go rename to server/vendor/github.com/Masterminds/squirrel/case.go diff --git a/vendor/github.com/Masterminds/squirrel/delete.go b/server/vendor/github.com/Masterminds/squirrel/delete.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/delete.go rename to server/vendor/github.com/Masterminds/squirrel/delete.go diff --git a/vendor/github.com/Masterminds/squirrel/delete_ctx.go b/server/vendor/github.com/Masterminds/squirrel/delete_ctx.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/delete_ctx.go rename to server/vendor/github.com/Masterminds/squirrel/delete_ctx.go diff --git a/vendor/github.com/Masterminds/squirrel/expr.go b/server/vendor/github.com/Masterminds/squirrel/expr.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/expr.go rename to server/vendor/github.com/Masterminds/squirrel/expr.go diff --git a/vendor/github.com/Masterminds/squirrel/insert.go b/server/vendor/github.com/Masterminds/squirrel/insert.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/insert.go rename to server/vendor/github.com/Masterminds/squirrel/insert.go diff --git a/vendor/github.com/Masterminds/squirrel/insert_ctx.go b/server/vendor/github.com/Masterminds/squirrel/insert_ctx.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/insert_ctx.go rename to server/vendor/github.com/Masterminds/squirrel/insert_ctx.go diff --git a/vendor/github.com/Masterminds/squirrel/part.go b/server/vendor/github.com/Masterminds/squirrel/part.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/part.go rename to server/vendor/github.com/Masterminds/squirrel/part.go diff --git a/vendor/github.com/Masterminds/squirrel/placeholder.go b/server/vendor/github.com/Masterminds/squirrel/placeholder.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/placeholder.go rename to server/vendor/github.com/Masterminds/squirrel/placeholder.go diff --git a/vendor/github.com/Masterminds/squirrel/row.go b/server/vendor/github.com/Masterminds/squirrel/row.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/row.go rename to server/vendor/github.com/Masterminds/squirrel/row.go diff --git a/vendor/github.com/Masterminds/squirrel/select.go b/server/vendor/github.com/Masterminds/squirrel/select.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/select.go rename to server/vendor/github.com/Masterminds/squirrel/select.go diff --git a/vendor/github.com/Masterminds/squirrel/select_ctx.go b/server/vendor/github.com/Masterminds/squirrel/select_ctx.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/select_ctx.go rename to server/vendor/github.com/Masterminds/squirrel/select_ctx.go diff --git a/vendor/github.com/Masterminds/squirrel/squirrel.go b/server/vendor/github.com/Masterminds/squirrel/squirrel.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/squirrel.go rename to server/vendor/github.com/Masterminds/squirrel/squirrel.go diff --git a/vendor/github.com/Masterminds/squirrel/squirrel_ctx.go b/server/vendor/github.com/Masterminds/squirrel/squirrel_ctx.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/squirrel_ctx.go rename to server/vendor/github.com/Masterminds/squirrel/squirrel_ctx.go diff --git a/vendor/github.com/Masterminds/squirrel/statement.go b/server/vendor/github.com/Masterminds/squirrel/statement.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/statement.go rename to server/vendor/github.com/Masterminds/squirrel/statement.go diff --git a/vendor/github.com/Masterminds/squirrel/stmtcacher.go b/server/vendor/github.com/Masterminds/squirrel/stmtcacher.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/stmtcacher.go rename to server/vendor/github.com/Masterminds/squirrel/stmtcacher.go diff --git a/vendor/github.com/Masterminds/squirrel/stmtcacher_ctx.go b/server/vendor/github.com/Masterminds/squirrel/stmtcacher_ctx.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/stmtcacher_ctx.go rename to server/vendor/github.com/Masterminds/squirrel/stmtcacher_ctx.go diff --git a/vendor/github.com/Masterminds/squirrel/stmtcacher_noctx.go b/server/vendor/github.com/Masterminds/squirrel/stmtcacher_noctx.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/stmtcacher_noctx.go rename to server/vendor/github.com/Masterminds/squirrel/stmtcacher_noctx.go diff --git a/vendor/github.com/Masterminds/squirrel/update.go b/server/vendor/github.com/Masterminds/squirrel/update.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/update.go rename to server/vendor/github.com/Masterminds/squirrel/update.go diff --git a/vendor/github.com/Masterminds/squirrel/update_ctx.go b/server/vendor/github.com/Masterminds/squirrel/update_ctx.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/update_ctx.go rename to server/vendor/github.com/Masterminds/squirrel/update_ctx.go diff --git a/vendor/github.com/Masterminds/squirrel/where.go b/server/vendor/github.com/Masterminds/squirrel/where.go similarity index 100% rename from vendor/github.com/Masterminds/squirrel/where.go rename to server/vendor/github.com/Masterminds/squirrel/where.go diff --git a/vendor/github.com/corpix/uarand/.gitignore b/server/vendor/github.com/corpix/uarand/.gitignore similarity index 100% rename from vendor/github.com/corpix/uarand/.gitignore rename to server/vendor/github.com/corpix/uarand/.gitignore diff --git a/vendor/github.com/corpix/uarand/.travis.yml b/server/vendor/github.com/corpix/uarand/.travis.yml similarity index 100% rename from vendor/github.com/corpix/uarand/.travis.yml rename to server/vendor/github.com/corpix/uarand/.travis.yml diff --git a/vendor/github.com/corpix/uarand/LICENSE b/server/vendor/github.com/corpix/uarand/LICENSE similarity index 100% rename from vendor/github.com/corpix/uarand/LICENSE rename to server/vendor/github.com/corpix/uarand/LICENSE diff --git a/vendor/github.com/corpix/uarand/Makefile b/server/vendor/github.com/corpix/uarand/Makefile similarity index 100% rename from vendor/github.com/corpix/uarand/Makefile rename to server/vendor/github.com/corpix/uarand/Makefile diff --git a/vendor/github.com/corpix/uarand/README.md b/server/vendor/github.com/corpix/uarand/README.md similarity index 100% rename from vendor/github.com/corpix/uarand/README.md rename to server/vendor/github.com/corpix/uarand/README.md diff --git a/vendor/github.com/corpix/uarand/shell.nix b/server/vendor/github.com/corpix/uarand/shell.nix similarity index 100% rename from vendor/github.com/corpix/uarand/shell.nix rename to server/vendor/github.com/corpix/uarand/shell.nix diff --git a/vendor/github.com/corpix/uarand/uarand.go b/server/vendor/github.com/corpix/uarand/uarand.go similarity index 100% rename from vendor/github.com/corpix/uarand/uarand.go rename to server/vendor/github.com/corpix/uarand/uarand.go diff --git a/vendor/github.com/corpix/uarand/useragents.go b/server/vendor/github.com/corpix/uarand/useragents.go similarity index 100% rename from vendor/github.com/corpix/uarand/useragents.go rename to server/vendor/github.com/corpix/uarand/useragents.go diff --git a/vendor/github.com/davecgh/go-spew/LICENSE b/server/vendor/github.com/davecgh/go-spew/LICENSE similarity index 100% rename from vendor/github.com/davecgh/go-spew/LICENSE rename to server/vendor/github.com/davecgh/go-spew/LICENSE diff --git a/vendor/github.com/davecgh/go-spew/spew/bypass.go b/server/vendor/github.com/davecgh/go-spew/spew/bypass.go similarity index 100% rename from vendor/github.com/davecgh/go-spew/spew/bypass.go rename to server/vendor/github.com/davecgh/go-spew/spew/bypass.go diff --git a/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go b/server/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go similarity index 100% rename from vendor/github.com/davecgh/go-spew/spew/bypasssafe.go rename to server/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go diff --git a/vendor/github.com/davecgh/go-spew/spew/common.go b/server/vendor/github.com/davecgh/go-spew/spew/common.go similarity index 100% rename from vendor/github.com/davecgh/go-spew/spew/common.go rename to server/vendor/github.com/davecgh/go-spew/spew/common.go diff --git a/vendor/github.com/davecgh/go-spew/spew/config.go b/server/vendor/github.com/davecgh/go-spew/spew/config.go similarity index 100% rename from vendor/github.com/davecgh/go-spew/spew/config.go rename to server/vendor/github.com/davecgh/go-spew/spew/config.go diff --git a/vendor/github.com/davecgh/go-spew/spew/doc.go b/server/vendor/github.com/davecgh/go-spew/spew/doc.go similarity index 100% rename from vendor/github.com/davecgh/go-spew/spew/doc.go rename to server/vendor/github.com/davecgh/go-spew/spew/doc.go diff --git a/vendor/github.com/davecgh/go-spew/spew/dump.go b/server/vendor/github.com/davecgh/go-spew/spew/dump.go similarity index 100% rename from vendor/github.com/davecgh/go-spew/spew/dump.go rename to server/vendor/github.com/davecgh/go-spew/spew/dump.go diff --git a/vendor/github.com/davecgh/go-spew/spew/format.go b/server/vendor/github.com/davecgh/go-spew/spew/format.go similarity index 100% rename from vendor/github.com/davecgh/go-spew/spew/format.go rename to server/vendor/github.com/davecgh/go-spew/spew/format.go diff --git a/vendor/github.com/davecgh/go-spew/spew/spew.go b/server/vendor/github.com/davecgh/go-spew/spew/spew.go similarity index 100% rename from vendor/github.com/davecgh/go-spew/spew/spew.go rename to server/vendor/github.com/davecgh/go-spew/spew/spew.go diff --git a/vendor/github.com/google/uuid/.travis.yml b/server/vendor/github.com/google/uuid/.travis.yml similarity index 100% rename from vendor/github.com/google/uuid/.travis.yml rename to server/vendor/github.com/google/uuid/.travis.yml diff --git a/vendor/github.com/google/uuid/CONTRIBUTING.md b/server/vendor/github.com/google/uuid/CONTRIBUTING.md similarity index 100% rename from vendor/github.com/google/uuid/CONTRIBUTING.md rename to server/vendor/github.com/google/uuid/CONTRIBUTING.md diff --git a/vendor/github.com/google/uuid/CONTRIBUTORS b/server/vendor/github.com/google/uuid/CONTRIBUTORS similarity index 100% rename from vendor/github.com/google/uuid/CONTRIBUTORS rename to server/vendor/github.com/google/uuid/CONTRIBUTORS diff --git a/vendor/github.com/google/uuid/LICENSE b/server/vendor/github.com/google/uuid/LICENSE similarity index 100% rename from vendor/github.com/google/uuid/LICENSE rename to server/vendor/github.com/google/uuid/LICENSE diff --git a/vendor/github.com/google/uuid/README.md b/server/vendor/github.com/google/uuid/README.md similarity index 100% rename from vendor/github.com/google/uuid/README.md rename to server/vendor/github.com/google/uuid/README.md diff --git a/vendor/github.com/google/uuid/dce.go b/server/vendor/github.com/google/uuid/dce.go similarity index 100% rename from vendor/github.com/google/uuid/dce.go rename to server/vendor/github.com/google/uuid/dce.go diff --git a/vendor/github.com/google/uuid/doc.go b/server/vendor/github.com/google/uuid/doc.go similarity index 100% rename from vendor/github.com/google/uuid/doc.go rename to server/vendor/github.com/google/uuid/doc.go diff --git a/vendor/github.com/google/uuid/hash.go b/server/vendor/github.com/google/uuid/hash.go similarity index 100% rename from vendor/github.com/google/uuid/hash.go rename to server/vendor/github.com/google/uuid/hash.go diff --git a/vendor/github.com/google/uuid/marshal.go b/server/vendor/github.com/google/uuid/marshal.go similarity index 100% rename from vendor/github.com/google/uuid/marshal.go rename to server/vendor/github.com/google/uuid/marshal.go diff --git a/vendor/github.com/google/uuid/node.go b/server/vendor/github.com/google/uuid/node.go similarity index 100% rename from vendor/github.com/google/uuid/node.go rename to server/vendor/github.com/google/uuid/node.go diff --git a/vendor/github.com/google/uuid/node_js.go b/server/vendor/github.com/google/uuid/node_js.go similarity index 100% rename from vendor/github.com/google/uuid/node_js.go rename to server/vendor/github.com/google/uuid/node_js.go diff --git a/vendor/github.com/google/uuid/node_net.go b/server/vendor/github.com/google/uuid/node_net.go similarity index 100% rename from vendor/github.com/google/uuid/node_net.go rename to server/vendor/github.com/google/uuid/node_net.go diff --git a/vendor/github.com/google/uuid/null.go b/server/vendor/github.com/google/uuid/null.go similarity index 100% rename from vendor/github.com/google/uuid/null.go rename to server/vendor/github.com/google/uuid/null.go diff --git a/vendor/github.com/google/uuid/sql.go b/server/vendor/github.com/google/uuid/sql.go similarity index 100% rename from vendor/github.com/google/uuid/sql.go rename to server/vendor/github.com/google/uuid/sql.go diff --git a/vendor/github.com/google/uuid/time.go b/server/vendor/github.com/google/uuid/time.go similarity index 100% rename from vendor/github.com/google/uuid/time.go rename to server/vendor/github.com/google/uuid/time.go diff --git a/vendor/github.com/google/uuid/util.go b/server/vendor/github.com/google/uuid/util.go similarity index 100% rename from vendor/github.com/google/uuid/util.go rename to server/vendor/github.com/google/uuid/util.go diff --git a/vendor/github.com/google/uuid/uuid.go b/server/vendor/github.com/google/uuid/uuid.go similarity index 100% rename from vendor/github.com/google/uuid/uuid.go rename to server/vendor/github.com/google/uuid/uuid.go diff --git a/vendor/github.com/google/uuid/version1.go b/server/vendor/github.com/google/uuid/version1.go similarity index 100% rename from vendor/github.com/google/uuid/version1.go rename to server/vendor/github.com/google/uuid/version1.go diff --git a/vendor/github.com/google/uuid/version4.go b/server/vendor/github.com/google/uuid/version4.go similarity index 100% rename from vendor/github.com/google/uuid/version4.go rename to server/vendor/github.com/google/uuid/version4.go diff --git a/vendor/github.com/icrowley/fake/.gitignore b/server/vendor/github.com/icrowley/fake/.gitignore similarity index 100% rename from vendor/github.com/icrowley/fake/.gitignore rename to server/vendor/github.com/icrowley/fake/.gitignore diff --git a/vendor/github.com/icrowley/fake/.go-makefile.json b/server/vendor/github.com/icrowley/fake/.go-makefile.json similarity index 100% rename from vendor/github.com/icrowley/fake/.go-makefile.json rename to server/vendor/github.com/icrowley/fake/.go-makefile.json diff --git a/vendor/github.com/icrowley/fake/.travis.yml b/server/vendor/github.com/icrowley/fake/.travis.yml similarity index 100% rename from vendor/github.com/icrowley/fake/.travis.yml rename to server/vendor/github.com/icrowley/fake/.travis.yml diff --git a/vendor/github.com/icrowley/fake/LICENSE b/server/vendor/github.com/icrowley/fake/LICENSE similarity index 100% rename from vendor/github.com/icrowley/fake/LICENSE rename to server/vendor/github.com/icrowley/fake/LICENSE diff --git a/vendor/github.com/icrowley/fake/Makefile b/server/vendor/github.com/icrowley/fake/Makefile similarity index 100% rename from vendor/github.com/icrowley/fake/Makefile rename to server/vendor/github.com/icrowley/fake/Makefile diff --git a/vendor/github.com/icrowley/fake/README.md b/server/vendor/github.com/icrowley/fake/README.md similarity index 100% rename from vendor/github.com/icrowley/fake/README.md rename to server/vendor/github.com/icrowley/fake/README.md diff --git a/vendor/github.com/icrowley/fake/addresses.go b/server/vendor/github.com/icrowley/fake/addresses.go similarity index 100% rename from vendor/github.com/icrowley/fake/addresses.go rename to server/vendor/github.com/icrowley/fake/addresses.go diff --git a/vendor/github.com/icrowley/fake/credit_cards.go b/server/vendor/github.com/icrowley/fake/credit_cards.go similarity index 100% rename from vendor/github.com/icrowley/fake/credit_cards.go rename to server/vendor/github.com/icrowley/fake/credit_cards.go diff --git a/vendor/github.com/icrowley/fake/currencies.go b/server/vendor/github.com/icrowley/fake/currencies.go similarity index 100% rename from vendor/github.com/icrowley/fake/currencies.go rename to server/vendor/github.com/icrowley/fake/currencies.go diff --git a/vendor/github.com/icrowley/fake/data.go b/server/vendor/github.com/icrowley/fake/data.go similarity index 100% rename from vendor/github.com/icrowley/fake/data.go rename to server/vendor/github.com/icrowley/fake/data.go diff --git a/vendor/github.com/icrowley/fake/dates.go b/server/vendor/github.com/icrowley/fake/dates.go similarity index 100% rename from vendor/github.com/icrowley/fake/dates.go rename to server/vendor/github.com/icrowley/fake/dates.go diff --git a/vendor/github.com/icrowley/fake/fake.go b/server/vendor/github.com/icrowley/fake/fake.go similarity index 100% rename from vendor/github.com/icrowley/fake/fake.go rename to server/vendor/github.com/icrowley/fake/fake.go diff --git a/vendor/github.com/icrowley/fake/general.go b/server/vendor/github.com/icrowley/fake/general.go similarity index 100% rename from vendor/github.com/icrowley/fake/general.go rename to server/vendor/github.com/icrowley/fake/general.go diff --git a/vendor/github.com/icrowley/fake/geo.go b/server/vendor/github.com/icrowley/fake/geo.go similarity index 100% rename from vendor/github.com/icrowley/fake/geo.go rename to server/vendor/github.com/icrowley/fake/geo.go diff --git a/vendor/github.com/icrowley/fake/glide.lock b/server/vendor/github.com/icrowley/fake/glide.lock similarity index 100% rename from vendor/github.com/icrowley/fake/glide.lock rename to server/vendor/github.com/icrowley/fake/glide.lock diff --git a/vendor/github.com/icrowley/fake/glide.yaml b/server/vendor/github.com/icrowley/fake/glide.yaml similarity index 100% rename from vendor/github.com/icrowley/fake/glide.yaml rename to server/vendor/github.com/icrowley/fake/glide.yaml diff --git a/vendor/github.com/icrowley/fake/internet.go b/server/vendor/github.com/icrowley/fake/internet.go similarity index 100% rename from vendor/github.com/icrowley/fake/internet.go rename to server/vendor/github.com/icrowley/fake/internet.go diff --git a/vendor/github.com/icrowley/fake/jobs.go b/server/vendor/github.com/icrowley/fake/jobs.go similarity index 100% rename from vendor/github.com/icrowley/fake/jobs.go rename to server/vendor/github.com/icrowley/fake/jobs.go diff --git a/vendor/github.com/icrowley/fake/lorem_ipsum.go b/server/vendor/github.com/icrowley/fake/lorem_ipsum.go similarity index 100% rename from vendor/github.com/icrowley/fake/lorem_ipsum.go rename to server/vendor/github.com/icrowley/fake/lorem_ipsum.go diff --git a/vendor/github.com/icrowley/fake/names.go b/server/vendor/github.com/icrowley/fake/names.go similarity index 100% rename from vendor/github.com/icrowley/fake/names.go rename to server/vendor/github.com/icrowley/fake/names.go diff --git a/vendor/github.com/icrowley/fake/personal.go b/server/vendor/github.com/icrowley/fake/personal.go similarity index 100% rename from vendor/github.com/icrowley/fake/personal.go rename to server/vendor/github.com/icrowley/fake/personal.go diff --git a/vendor/github.com/icrowley/fake/products.go b/server/vendor/github.com/icrowley/fake/products.go similarity index 100% rename from vendor/github.com/icrowley/fake/products.go rename to server/vendor/github.com/icrowley/fake/products.go diff --git a/vendor/github.com/lann/builder/.gitignore b/server/vendor/github.com/lann/builder/.gitignore similarity index 100% rename from vendor/github.com/lann/builder/.gitignore rename to server/vendor/github.com/lann/builder/.gitignore diff --git a/vendor/github.com/lann/builder/.travis.yml b/server/vendor/github.com/lann/builder/.travis.yml similarity index 100% rename from vendor/github.com/lann/builder/.travis.yml rename to server/vendor/github.com/lann/builder/.travis.yml diff --git a/vendor/github.com/lann/builder/LICENSE b/server/vendor/github.com/lann/builder/LICENSE similarity index 100% rename from vendor/github.com/lann/builder/LICENSE rename to server/vendor/github.com/lann/builder/LICENSE diff --git a/vendor/github.com/lann/builder/README.md b/server/vendor/github.com/lann/builder/README.md similarity index 100% rename from vendor/github.com/lann/builder/README.md rename to server/vendor/github.com/lann/builder/README.md diff --git a/vendor/github.com/lann/builder/builder.go b/server/vendor/github.com/lann/builder/builder.go similarity index 100% rename from vendor/github.com/lann/builder/builder.go rename to server/vendor/github.com/lann/builder/builder.go diff --git a/vendor/github.com/lann/builder/reflect.go b/server/vendor/github.com/lann/builder/reflect.go similarity index 100% rename from vendor/github.com/lann/builder/reflect.go rename to server/vendor/github.com/lann/builder/reflect.go diff --git a/vendor/github.com/lann/builder/registry.go b/server/vendor/github.com/lann/builder/registry.go similarity index 100% rename from vendor/github.com/lann/builder/registry.go rename to server/vendor/github.com/lann/builder/registry.go diff --git a/vendor/github.com/lann/ps/LICENSE b/server/vendor/github.com/lann/ps/LICENSE similarity index 100% rename from vendor/github.com/lann/ps/LICENSE rename to server/vendor/github.com/lann/ps/LICENSE diff --git a/vendor/github.com/lann/ps/README.md b/server/vendor/github.com/lann/ps/README.md similarity index 100% rename from vendor/github.com/lann/ps/README.md rename to server/vendor/github.com/lann/ps/README.md diff --git a/vendor/github.com/lann/ps/list.go b/server/vendor/github.com/lann/ps/list.go similarity index 100% rename from vendor/github.com/lann/ps/list.go rename to server/vendor/github.com/lann/ps/list.go diff --git a/vendor/github.com/lann/ps/map.go b/server/vendor/github.com/lann/ps/map.go similarity index 100% rename from vendor/github.com/lann/ps/map.go rename to server/vendor/github.com/lann/ps/map.go diff --git a/vendor/github.com/lann/ps/profile.sh b/server/vendor/github.com/lann/ps/profile.sh similarity index 100% rename from vendor/github.com/lann/ps/profile.sh rename to server/vendor/github.com/lann/ps/profile.sh diff --git a/vendor/github.com/mattn/go-sqlite3/.codecov.yml b/server/vendor/github.com/mattn/go-sqlite3/.codecov.yml similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/.codecov.yml rename to server/vendor/github.com/mattn/go-sqlite3/.codecov.yml diff --git a/vendor/github.com/mattn/go-sqlite3/.gitignore b/server/vendor/github.com/mattn/go-sqlite3/.gitignore similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/.gitignore rename to server/vendor/github.com/mattn/go-sqlite3/.gitignore diff --git a/vendor/github.com/mattn/go-sqlite3/LICENSE b/server/vendor/github.com/mattn/go-sqlite3/LICENSE similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/LICENSE rename to server/vendor/github.com/mattn/go-sqlite3/LICENSE diff --git a/vendor/github.com/mattn/go-sqlite3/README.md b/server/vendor/github.com/mattn/go-sqlite3/README.md similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/README.md rename to server/vendor/github.com/mattn/go-sqlite3/README.md diff --git a/vendor/github.com/mattn/go-sqlite3/backup.go b/server/vendor/github.com/mattn/go-sqlite3/backup.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/backup.go rename to server/vendor/github.com/mattn/go-sqlite3/backup.go diff --git a/vendor/github.com/mattn/go-sqlite3/callback.go b/server/vendor/github.com/mattn/go-sqlite3/callback.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/callback.go rename to server/vendor/github.com/mattn/go-sqlite3/callback.go diff --git a/vendor/github.com/mattn/go-sqlite3/convert.go b/server/vendor/github.com/mattn/go-sqlite3/convert.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/convert.go rename to server/vendor/github.com/mattn/go-sqlite3/convert.go diff --git a/vendor/github.com/mattn/go-sqlite3/doc.go b/server/vendor/github.com/mattn/go-sqlite3/doc.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/doc.go rename to server/vendor/github.com/mattn/go-sqlite3/doc.go diff --git a/vendor/github.com/mattn/go-sqlite3/error.go b/server/vendor/github.com/mattn/go-sqlite3/error.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/error.go rename to server/vendor/github.com/mattn/go-sqlite3/error.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c b/server/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h b/server/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_context.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_context.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_context.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_context.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_func_crypt.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_func_crypt.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_func_crypt.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_func_crypt.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_go18.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_go18.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_go18.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_go18.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_libsqlite3.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_libsqlite3.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_libsqlite3.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_libsqlite3.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_allow_uri_authority.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_allow_uri_authority.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_allow_uri_authority.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_allow_uri_authority.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_app_armor.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_app_armor.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_app_armor.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_app_armor.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_column_metadata.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_column_metadata.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_column_metadata.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_column_metadata.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_foreign_keys.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_fts5.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_fts5.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_fts5.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_fts5.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_icu.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_icu.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_icu.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_icu.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_introspect.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_introspect.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_introspect.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_introspect.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_json1.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_json1.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_json1.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_json1.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_hook.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_hook.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_hook.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_hook.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_omit.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_omit.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_omit.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_preupdate_omit.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete_fast.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete_fast.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete_fast.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_secure_delete_fast.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_stat4.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_stat4.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_stat4.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_stat4.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth_omit.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth_omit.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth_omit.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth_omit.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_full.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_incr.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_incr.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_incr.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vacuum_incr.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vtable.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vtable.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vtable.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_vtable.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_other.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_other.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_other.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_other.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_solaris.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_solaris.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_solaris.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_solaris.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_trace.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_trace.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_trace.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_trace.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_type.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_type.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_type.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_type.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_usleep_windows.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_usleep_windows.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_usleep_windows.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_usleep_windows.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_windows.go b/server/vendor/github.com/mattn/go-sqlite3/sqlite3_windows.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3_windows.go rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3_windows.go diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h b/server/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/sqlite3ext.h rename to server/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h diff --git a/vendor/github.com/mattn/go-sqlite3/static_mock.go b/server/vendor/github.com/mattn/go-sqlite3/static_mock.go similarity index 100% rename from vendor/github.com/mattn/go-sqlite3/static_mock.go rename to server/vendor/github.com/mattn/go-sqlite3/static_mock.go diff --git a/vendor/github.com/pmezard/go-difflib/LICENSE b/server/vendor/github.com/pmezard/go-difflib/LICENSE similarity index 100% rename from vendor/github.com/pmezard/go-difflib/LICENSE rename to server/vendor/github.com/pmezard/go-difflib/LICENSE diff --git a/vendor/github.com/pmezard/go-difflib/difflib/difflib.go b/server/vendor/github.com/pmezard/go-difflib/difflib/difflib.go similarity index 100% rename from vendor/github.com/pmezard/go-difflib/difflib/difflib.go rename to server/vendor/github.com/pmezard/go-difflib/difflib/difflib.go diff --git a/vendor/github.com/stretchr/testify/LICENSE b/server/vendor/github.com/stretchr/testify/LICENSE similarity index 100% rename from vendor/github.com/stretchr/testify/LICENSE rename to server/vendor/github.com/stretchr/testify/LICENSE diff --git a/vendor/github.com/stretchr/testify/assert/assertion_compare.go b/server/vendor/github.com/stretchr/testify/assert/assertion_compare.go similarity index 100% rename from vendor/github.com/stretchr/testify/assert/assertion_compare.go rename to server/vendor/github.com/stretchr/testify/assert/assertion_compare.go diff --git a/vendor/github.com/stretchr/testify/assert/assertion_format.go b/server/vendor/github.com/stretchr/testify/assert/assertion_format.go similarity index 100% rename from vendor/github.com/stretchr/testify/assert/assertion_format.go rename to server/vendor/github.com/stretchr/testify/assert/assertion_format.go diff --git a/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl b/server/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl similarity index 100% rename from vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl rename to server/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl diff --git a/vendor/github.com/stretchr/testify/assert/assertion_forward.go b/server/vendor/github.com/stretchr/testify/assert/assertion_forward.go similarity index 100% rename from vendor/github.com/stretchr/testify/assert/assertion_forward.go rename to server/vendor/github.com/stretchr/testify/assert/assertion_forward.go diff --git a/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl b/server/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl similarity index 100% rename from vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl rename to server/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl diff --git a/vendor/github.com/stretchr/testify/assert/assertion_order.go b/server/vendor/github.com/stretchr/testify/assert/assertion_order.go similarity index 100% rename from vendor/github.com/stretchr/testify/assert/assertion_order.go rename to server/vendor/github.com/stretchr/testify/assert/assertion_order.go diff --git a/vendor/github.com/stretchr/testify/assert/assertions.go b/server/vendor/github.com/stretchr/testify/assert/assertions.go similarity index 100% rename from vendor/github.com/stretchr/testify/assert/assertions.go rename to server/vendor/github.com/stretchr/testify/assert/assertions.go diff --git a/vendor/github.com/stretchr/testify/assert/doc.go b/server/vendor/github.com/stretchr/testify/assert/doc.go similarity index 100% rename from vendor/github.com/stretchr/testify/assert/doc.go rename to server/vendor/github.com/stretchr/testify/assert/doc.go diff --git a/vendor/github.com/stretchr/testify/assert/errors.go b/server/vendor/github.com/stretchr/testify/assert/errors.go similarity index 100% rename from vendor/github.com/stretchr/testify/assert/errors.go rename to server/vendor/github.com/stretchr/testify/assert/errors.go diff --git a/vendor/github.com/stretchr/testify/assert/forward_assertions.go b/server/vendor/github.com/stretchr/testify/assert/forward_assertions.go similarity index 100% rename from vendor/github.com/stretchr/testify/assert/forward_assertions.go rename to server/vendor/github.com/stretchr/testify/assert/forward_assertions.go diff --git a/vendor/github.com/stretchr/testify/assert/http_assertions.go b/server/vendor/github.com/stretchr/testify/assert/http_assertions.go similarity index 100% rename from vendor/github.com/stretchr/testify/assert/http_assertions.go rename to server/vendor/github.com/stretchr/testify/assert/http_assertions.go diff --git a/vendor/github.com/stretchr/testify/require/doc.go b/server/vendor/github.com/stretchr/testify/require/doc.go similarity index 100% rename from vendor/github.com/stretchr/testify/require/doc.go rename to server/vendor/github.com/stretchr/testify/require/doc.go diff --git a/vendor/github.com/stretchr/testify/require/forward_requirements.go b/server/vendor/github.com/stretchr/testify/require/forward_requirements.go similarity index 100% rename from vendor/github.com/stretchr/testify/require/forward_requirements.go rename to server/vendor/github.com/stretchr/testify/require/forward_requirements.go diff --git a/vendor/github.com/stretchr/testify/require/require.go b/server/vendor/github.com/stretchr/testify/require/require.go similarity index 100% rename from vendor/github.com/stretchr/testify/require/require.go rename to server/vendor/github.com/stretchr/testify/require/require.go diff --git a/vendor/github.com/stretchr/testify/require/require.go.tmpl b/server/vendor/github.com/stretchr/testify/require/require.go.tmpl similarity index 100% rename from vendor/github.com/stretchr/testify/require/require.go.tmpl rename to server/vendor/github.com/stretchr/testify/require/require.go.tmpl diff --git a/vendor/github.com/stretchr/testify/require/require_forward.go b/server/vendor/github.com/stretchr/testify/require/require_forward.go similarity index 100% rename from vendor/github.com/stretchr/testify/require/require_forward.go rename to server/vendor/github.com/stretchr/testify/require/require_forward.go diff --git a/vendor/github.com/stretchr/testify/require/require_forward.go.tmpl b/server/vendor/github.com/stretchr/testify/require/require_forward.go.tmpl similarity index 100% rename from vendor/github.com/stretchr/testify/require/require_forward.go.tmpl rename to server/vendor/github.com/stretchr/testify/require/require_forward.go.tmpl diff --git a/vendor/github.com/stretchr/testify/require/requirements.go b/server/vendor/github.com/stretchr/testify/require/requirements.go similarity index 100% rename from vendor/github.com/stretchr/testify/require/requirements.go rename to server/vendor/github.com/stretchr/testify/require/requirements.go diff --git a/vendor/gopkg.in/yaml.v2/.travis.yml b/server/vendor/gopkg.in/yaml.v2/.travis.yml similarity index 100% rename from vendor/gopkg.in/yaml.v2/.travis.yml rename to server/vendor/gopkg.in/yaml.v2/.travis.yml diff --git a/vendor/gopkg.in/yaml.v2/LICENSE b/server/vendor/gopkg.in/yaml.v2/LICENSE similarity index 100% rename from vendor/gopkg.in/yaml.v2/LICENSE rename to server/vendor/gopkg.in/yaml.v2/LICENSE diff --git a/vendor/gopkg.in/yaml.v2/LICENSE.libyaml b/server/vendor/gopkg.in/yaml.v2/LICENSE.libyaml similarity index 100% rename from vendor/gopkg.in/yaml.v2/LICENSE.libyaml rename to server/vendor/gopkg.in/yaml.v2/LICENSE.libyaml diff --git a/vendor/gopkg.in/yaml.v2/NOTICE b/server/vendor/gopkg.in/yaml.v2/NOTICE similarity index 100% rename from vendor/gopkg.in/yaml.v2/NOTICE rename to server/vendor/gopkg.in/yaml.v2/NOTICE diff --git a/vendor/gopkg.in/yaml.v2/README.md b/server/vendor/gopkg.in/yaml.v2/README.md similarity index 100% rename from vendor/gopkg.in/yaml.v2/README.md rename to server/vendor/gopkg.in/yaml.v2/README.md diff --git a/vendor/gopkg.in/yaml.v2/apic.go b/server/vendor/gopkg.in/yaml.v2/apic.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/apic.go rename to server/vendor/gopkg.in/yaml.v2/apic.go diff --git a/vendor/gopkg.in/yaml.v2/decode.go b/server/vendor/gopkg.in/yaml.v2/decode.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/decode.go rename to server/vendor/gopkg.in/yaml.v2/decode.go diff --git a/vendor/gopkg.in/yaml.v2/emitterc.go b/server/vendor/gopkg.in/yaml.v2/emitterc.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/emitterc.go rename to server/vendor/gopkg.in/yaml.v2/emitterc.go diff --git a/vendor/gopkg.in/yaml.v2/encode.go b/server/vendor/gopkg.in/yaml.v2/encode.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/encode.go rename to server/vendor/gopkg.in/yaml.v2/encode.go diff --git a/vendor/gopkg.in/yaml.v2/parserc.go b/server/vendor/gopkg.in/yaml.v2/parserc.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/parserc.go rename to server/vendor/gopkg.in/yaml.v2/parserc.go diff --git a/vendor/gopkg.in/yaml.v2/readerc.go b/server/vendor/gopkg.in/yaml.v2/readerc.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/readerc.go rename to server/vendor/gopkg.in/yaml.v2/readerc.go diff --git a/vendor/gopkg.in/yaml.v2/resolve.go b/server/vendor/gopkg.in/yaml.v2/resolve.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/resolve.go rename to server/vendor/gopkg.in/yaml.v2/resolve.go diff --git a/vendor/gopkg.in/yaml.v2/scannerc.go b/server/vendor/gopkg.in/yaml.v2/scannerc.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/scannerc.go rename to server/vendor/gopkg.in/yaml.v2/scannerc.go diff --git a/vendor/gopkg.in/yaml.v2/sorter.go b/server/vendor/gopkg.in/yaml.v2/sorter.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/sorter.go rename to server/vendor/gopkg.in/yaml.v2/sorter.go diff --git a/vendor/gopkg.in/yaml.v2/writerc.go b/server/vendor/gopkg.in/yaml.v2/writerc.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/writerc.go rename to server/vendor/gopkg.in/yaml.v2/writerc.go diff --git a/vendor/gopkg.in/yaml.v2/yaml.go b/server/vendor/gopkg.in/yaml.v2/yaml.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/yaml.go rename to server/vendor/gopkg.in/yaml.v2/yaml.go diff --git a/vendor/gopkg.in/yaml.v2/yamlh.go b/server/vendor/gopkg.in/yaml.v2/yamlh.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/yamlh.go rename to server/vendor/gopkg.in/yaml.v2/yamlh.go diff --git a/vendor/gopkg.in/yaml.v2/yamlprivateh.go b/server/vendor/gopkg.in/yaml.v2/yamlprivateh.go similarity index 100% rename from vendor/gopkg.in/yaml.v2/yamlprivateh.go rename to server/vendor/gopkg.in/yaml.v2/yamlprivateh.go diff --git a/vendor/gopkg.in/yaml.v3/LICENSE b/server/vendor/gopkg.in/yaml.v3/LICENSE similarity index 100% rename from vendor/gopkg.in/yaml.v3/LICENSE rename to server/vendor/gopkg.in/yaml.v3/LICENSE diff --git a/vendor/gopkg.in/yaml.v3/NOTICE b/server/vendor/gopkg.in/yaml.v3/NOTICE similarity index 100% rename from vendor/gopkg.in/yaml.v3/NOTICE rename to server/vendor/gopkg.in/yaml.v3/NOTICE diff --git a/vendor/gopkg.in/yaml.v3/README.md b/server/vendor/gopkg.in/yaml.v3/README.md similarity index 100% rename from vendor/gopkg.in/yaml.v3/README.md rename to server/vendor/gopkg.in/yaml.v3/README.md diff --git a/vendor/gopkg.in/yaml.v3/apic.go b/server/vendor/gopkg.in/yaml.v3/apic.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/apic.go rename to server/vendor/gopkg.in/yaml.v3/apic.go diff --git a/vendor/gopkg.in/yaml.v3/decode.go b/server/vendor/gopkg.in/yaml.v3/decode.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/decode.go rename to server/vendor/gopkg.in/yaml.v3/decode.go diff --git a/vendor/gopkg.in/yaml.v3/emitterc.go b/server/vendor/gopkg.in/yaml.v3/emitterc.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/emitterc.go rename to server/vendor/gopkg.in/yaml.v3/emitterc.go diff --git a/vendor/gopkg.in/yaml.v3/encode.go b/server/vendor/gopkg.in/yaml.v3/encode.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/encode.go rename to server/vendor/gopkg.in/yaml.v3/encode.go diff --git a/vendor/gopkg.in/yaml.v3/parserc.go b/server/vendor/gopkg.in/yaml.v3/parserc.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/parserc.go rename to server/vendor/gopkg.in/yaml.v3/parserc.go diff --git a/vendor/gopkg.in/yaml.v3/readerc.go b/server/vendor/gopkg.in/yaml.v3/readerc.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/readerc.go rename to server/vendor/gopkg.in/yaml.v3/readerc.go diff --git a/vendor/gopkg.in/yaml.v3/resolve.go b/server/vendor/gopkg.in/yaml.v3/resolve.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/resolve.go rename to server/vendor/gopkg.in/yaml.v3/resolve.go diff --git a/vendor/gopkg.in/yaml.v3/scannerc.go b/server/vendor/gopkg.in/yaml.v3/scannerc.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/scannerc.go rename to server/vendor/gopkg.in/yaml.v3/scannerc.go diff --git a/vendor/gopkg.in/yaml.v3/sorter.go b/server/vendor/gopkg.in/yaml.v3/sorter.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/sorter.go rename to server/vendor/gopkg.in/yaml.v3/sorter.go diff --git a/vendor/gopkg.in/yaml.v3/writerc.go b/server/vendor/gopkg.in/yaml.v3/writerc.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/writerc.go rename to server/vendor/gopkg.in/yaml.v3/writerc.go diff --git a/vendor/gopkg.in/yaml.v3/yaml.go b/server/vendor/gopkg.in/yaml.v3/yaml.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/yaml.go rename to server/vendor/gopkg.in/yaml.v3/yaml.go diff --git a/vendor/gopkg.in/yaml.v3/yamlh.go b/server/vendor/gopkg.in/yaml.v3/yamlh.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/yamlh.go rename to server/vendor/gopkg.in/yaml.v3/yamlh.go diff --git a/vendor/gopkg.in/yaml.v3/yamlprivateh.go b/server/vendor/gopkg.in/yaml.v3/yamlprivateh.go similarity index 100% rename from vendor/gopkg.in/yaml.v3/yamlprivateh.go rename to server/vendor/gopkg.in/yaml.v3/yamlprivateh.go diff --git a/vendor/modules.txt b/server/vendor/modules.txt similarity index 100% rename from vendor/modules.txt rename to server/vendor/modules.txt diff --git a/web/web.go b/server/web/web.go similarity index 94% rename from web/web.go rename to server/web/web.go index d813096..632a771 100644 --- a/web/web.go +++ b/server/web/web.go @@ -14,7 +14,7 @@ func NewWebServer(port int) (*WebServer, error) { // ToDo: configure routes mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { - fmt.Fprintf(w, "Hello rmsn!!") + fmt.Fprintf(w, "Hello craban!!") }) s := &WebServer{