From d553ca743bd670fc6d6a8667fd4997b24fcd7d1e Mon Sep 17 00:00:00 2001 From: konrad Date: Mon, 5 Mar 2018 12:53:12 +0100 Subject: [PATCH] Moved to new namespace --- .drone.yml | 2 +- Makefile | 4 ++-- Readme.md | 2 +- main.go | 4 ++-- routes/api/v1/author_delete.go | 2 +- routes/api/v1/author_show.go | 2 +- routes/api/v1/authors_add_update.go | 2 +- routes/api/v1/authors_list.go | 2 +- routes/api/v1/book_delete.go | 2 +- routes/api/v1/book_show.go | 2 +- routes/api/v1/books_add_update.go | 2 +- routes/api/v1/books_list.go | 2 +- routes/api/v1/items_add_update.go | 2 +- routes/api/v1/items_delete.go | 2 +- routes/api/v1/items_list.go | 2 +- routes/api/v1/items_show.go | 2 +- routes/api/v1/publishers_add_update.go | 2 +- routes/api/v1/publishers_delete.go | 2 +- routes/api/v1/publishers_list.go | 2 +- routes/api/v1/publishers_show.go | 2 +- routes/api/v1/status.go | 2 +- routes/api/v1/token_check.go | 2 +- routes/api/v1/user_add_update.go | 2 +- routes/api/v1/user_delete.go | 2 +- routes/api/v1/user_show.go | 2 +- routes/api/v1/user_update_password.go | 2 +- routes/api/v1/users_list.go | 2 +- routes/login.go | 2 +- routes/routes.go | 4 ++-- 29 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.drone.yml b/.drone.yml index f3a3c3e..00895f4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ workspace: base: /srv/app - path: src/git.mowie.cc/konrad/Library + path: src/git.kolaente.de/konrad/Library clone: git: diff --git a/Makefile b/Makefile index 1d9c47c..fe566ff 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ DIST := dist -IMPORT := git.mowie.cc/konrad/Library +IMPORT := git.kolaente.de/konrad/Library SED_INPLACE := sed -i @@ -21,7 +21,7 @@ EXTRA_GOFLAGS ?= LDFLAGS := -X "main.Version=$(shell git describe --tags --always | sed 's/-/+/' | sed 's/^v//')" -X "main.Tags=$(TAGS)" -PACKAGES ?= $(filter-out git.mowie.cc/konrad/Library/integrations,$(shell go list ./... | grep -v /vendor/)) +PACKAGES ?= $(filter-out git.kolaente.de/konrad/Library/integrations,$(shell go list ./... | grep -v /vendor/)) SOURCES ?= $(shell find . -name "*.go" -type f) TAGS ?= diff --git a/Readme.md b/Readme.md index 66102ad..2e6ea29 100644 --- a/Readme.md +++ b/Readme.md @@ -6,7 +6,7 @@ An application to manage your library, books and authors. -API Docs: https://git.mowie.cc/konrad/Library/wiki/API +API Docs: https://git.kolaente.de/konrad/Library/wiki/API Download the latest release: https://storage.kolaente.de/minio/library-release/ (`master` is up-to-date with the master branch and can contain bugs, if you want a stable version, choose a version from the list) \ No newline at end of file diff --git a/main.go b/main.go index 34fb71d..f5a2dbd 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,8 @@ package main import ( - "git.mowie.cc/konrad/Library/models" - "git.mowie.cc/konrad/Library/routes" + "git.kolaente.de/konrad/Library/models" + "git.kolaente.de/konrad/Library/routes" "context" "fmt" diff --git a/routes/api/v1/author_delete.go b/routes/api/v1/author_delete.go index f40f8e1..1b2c27d 100644 --- a/routes/api/v1/author_delete.go +++ b/routes/api/v1/author_delete.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/author_show.go b/routes/api/v1/author_show.go index 4db1f5e..cb3d49a 100644 --- a/routes/api/v1/author_show.go +++ b/routes/api/v1/author_show.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/authors_add_update.go b/routes/api/v1/authors_add_update.go index 5c358fa..8a506ad 100644 --- a/routes/api/v1/authors_add_update.go +++ b/routes/api/v1/authors_add_update.go @@ -2,7 +2,7 @@ package v1 import ( "encoding/json" - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/authors_list.go b/routes/api/v1/authors_list.go index 44ef82c..50c416f 100644 --- a/routes/api/v1/authors_list.go +++ b/routes/api/v1/authors_list.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" ) diff --git a/routes/api/v1/book_delete.go b/routes/api/v1/book_delete.go index 14eb8f9..79c6ff5 100644 --- a/routes/api/v1/book_delete.go +++ b/routes/api/v1/book_delete.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/book_show.go b/routes/api/v1/book_show.go index 50f59fe..82e429c 100644 --- a/routes/api/v1/book_show.go +++ b/routes/api/v1/book_show.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/books_add_update.go b/routes/api/v1/books_add_update.go index fd27a65..ec2a81a 100644 --- a/routes/api/v1/books_add_update.go +++ b/routes/api/v1/books_add_update.go @@ -2,7 +2,7 @@ package v1 import ( "encoding/json" - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/books_list.go b/routes/api/v1/books_list.go index 1e32982..52f0f55 100644 --- a/routes/api/v1/books_list.go +++ b/routes/api/v1/books_list.go @@ -5,7 +5,7 @@ import ( "net/http" "fmt" - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" ) // BookList is the handler to list books diff --git a/routes/api/v1/items_add_update.go b/routes/api/v1/items_add_update.go index 54e6c9e..eb2e2e0 100644 --- a/routes/api/v1/items_add_update.go +++ b/routes/api/v1/items_add_update.go @@ -2,7 +2,7 @@ package v1 import ( "encoding/json" - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/items_delete.go b/routes/api/v1/items_delete.go index e105364..64b72f5 100644 --- a/routes/api/v1/items_delete.go +++ b/routes/api/v1/items_delete.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/items_list.go b/routes/api/v1/items_list.go index 5b5752b..4de46d4 100644 --- a/routes/api/v1/items_list.go +++ b/routes/api/v1/items_list.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" ) diff --git a/routes/api/v1/items_show.go b/routes/api/v1/items_show.go index fd1eed2..f0cef20 100644 --- a/routes/api/v1/items_show.go +++ b/routes/api/v1/items_show.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/publishers_add_update.go b/routes/api/v1/publishers_add_update.go index 8fd4656..184d636 100644 --- a/routes/api/v1/publishers_add_update.go +++ b/routes/api/v1/publishers_add_update.go @@ -2,7 +2,7 @@ package v1 import ( "encoding/json" - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/publishers_delete.go b/routes/api/v1/publishers_delete.go index 7f3c011..7d60484 100644 --- a/routes/api/v1/publishers_delete.go +++ b/routes/api/v1/publishers_delete.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/publishers_list.go b/routes/api/v1/publishers_list.go index 8d7ef24..3dc77a5 100644 --- a/routes/api/v1/publishers_list.go +++ b/routes/api/v1/publishers_list.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" ) diff --git a/routes/api/v1/publishers_show.go b/routes/api/v1/publishers_show.go index a521608..24d71df 100644 --- a/routes/api/v1/publishers_show.go +++ b/routes/api/v1/publishers_show.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/status.go b/routes/api/v1/status.go index 2e12368..4a3883e 100644 --- a/routes/api/v1/status.go +++ b/routes/api/v1/status.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/token_check.go b/routes/api/v1/token_check.go index cff9e79..e9628e2 100644 --- a/routes/api/v1/token_check.go +++ b/routes/api/v1/token_check.go @@ -2,7 +2,7 @@ package v1 import ( "fmt" - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/dgrijalva/jwt-go" "github.com/labstack/echo" ) diff --git a/routes/api/v1/user_add_update.go b/routes/api/v1/user_add_update.go index 0a99700..cfcc37b 100644 --- a/routes/api/v1/user_add_update.go +++ b/routes/api/v1/user_add_update.go @@ -2,7 +2,7 @@ package v1 import ( "encoding/json" - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/user_delete.go b/routes/api/v1/user_delete.go index 3dd4e63..c5b354a 100644 --- a/routes/api/v1/user_delete.go +++ b/routes/api/v1/user_delete.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/user_show.go b/routes/api/v1/user_show.go index 23ab1e0..80aeae3 100644 --- a/routes/api/v1/user_show.go +++ b/routes/api/v1/user_show.go @@ -1,7 +1,7 @@ package v1 import ( - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" "net/http" "strconv" diff --git a/routes/api/v1/user_update_password.go b/routes/api/v1/user_update_password.go index 0135a80..26a48f8 100644 --- a/routes/api/v1/user_update_password.go +++ b/routes/api/v1/user_update_password.go @@ -4,7 +4,7 @@ import ( "net/http" "strconv" - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" ) diff --git a/routes/api/v1/users_list.go b/routes/api/v1/users_list.go index fa01c37..812cf04 100644 --- a/routes/api/v1/users_list.go +++ b/routes/api/v1/users_list.go @@ -3,7 +3,7 @@ package v1 import ( "net/http" - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/labstack/echo" ) diff --git a/routes/login.go b/routes/login.go index 7c1f320..6533919 100644 --- a/routes/login.go +++ b/routes/login.go @@ -3,7 +3,7 @@ package routes import ( "crypto/md5" "encoding/hex" - "git.mowie.cc/konrad/Library/models" + "git.kolaente.de/konrad/Library/models" "github.com/dgrijalva/jwt-go" "github.com/labstack/echo" "net/http" diff --git a/routes/routes.go b/routes/routes.go index cbb32dd..3f1d13c 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -4,8 +4,8 @@ import ( "github.com/labstack/echo" "github.com/labstack/echo/middleware" - "git.mowie.cc/konrad/Library/models" - apiv1 "git.mowie.cc/konrad/Library/routes/api/v1" + "git.kolaente.de/konrad/Library/models" + apiv1 "git.kolaente.de/konrad/Library/routes/api/v1" ) // NewEcho registers a new Echo instance