fix: moved module namespace to git.dittmar.dev
This commit is contained in:
@@ -5,9 +5,9 @@ import (
|
||||
"log/slog"
|
||||
"net/http"
|
||||
|
||||
"github.com/robindittmar/dttmr-api/internal/api/request"
|
||||
"github.com/robindittmar/dttmr-api/internal/api/response"
|
||||
"github.com/robindittmar/dttmr-api/internal/domain"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/request"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/response"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/domain"
|
||||
)
|
||||
|
||||
type AuthHandler struct {
|
||||
|
||||
@@ -4,9 +4,9 @@ import (
|
||||
"log/slog"
|
||||
"net/http"
|
||||
|
||||
"github.com/robindittmar/dttmr-api/internal/api/request"
|
||||
"github.com/robindittmar/dttmr-api/internal/api/response"
|
||||
"github.com/robindittmar/dttmr-api/internal/domain"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/request"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/response"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/domain"
|
||||
)
|
||||
|
||||
type ExerciseHandler struct {
|
||||
|
||||
@@ -3,7 +3,7 @@ package handler
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/robindittmar/dttmr-api/internal/api/response"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/response"
|
||||
)
|
||||
|
||||
type healthResponse struct {
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/robindittmar/dttmr-api/internal/api/handler"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/handler"
|
||||
)
|
||||
|
||||
func TestHealthHandler_Success(t *testing.T) {
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
||||
"github.com/robindittmar/dttmr-api/internal/api/response"
|
||||
"github.com/robindittmar/dttmr-api/internal/domain"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/response"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/domain"
|
||||
)
|
||||
|
||||
type InviteHandler struct {
|
||||
|
||||
@@ -4,9 +4,9 @@ import (
|
||||
"log/slog"
|
||||
"net/http"
|
||||
|
||||
"github.com/robindittmar/dttmr-api/internal/api/request"
|
||||
"github.com/robindittmar/dttmr-api/internal/api/response"
|
||||
"github.com/robindittmar/dttmr-api/internal/domain"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/request"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/response"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/domain"
|
||||
)
|
||||
|
||||
type ListHandler struct {
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"log/slog"
|
||||
"net/http"
|
||||
|
||||
"github.com/robindittmar/dttmr-api/internal/api/request"
|
||||
"github.com/robindittmar/dttmr-api/internal/api/response"
|
||||
"github.com/robindittmar/dttmr-api/internal/domain"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/request"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/response"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/domain"
|
||||
)
|
||||
|
||||
type UserHandler struct {
|
||||
|
||||
@@ -3,7 +3,7 @@ package handler
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/robindittmar/dttmr-api/internal/api/response"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/response"
|
||||
)
|
||||
|
||||
type VersionResponse struct {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/robindittmar/dttmr-api/internal/api/response"
|
||||
"github.com/robindittmar/dttmr-api/internal/domain"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/response"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/domain"
|
||||
)
|
||||
|
||||
func WithJWT(authService *domain.AuthService) func(http.HandlerFunc) http.HandlerFunc {
|
||||
|
||||
@@ -4,10 +4,10 @@ import (
|
||||
"database/sql"
|
||||
"net/http"
|
||||
|
||||
"github.com/robindittmar/dttmr-api/internal/api/handler"
|
||||
"github.com/robindittmar/dttmr-api/internal/api/middleware"
|
||||
"github.com/robindittmar/dttmr-api/internal/domain"
|
||||
"github.com/robindittmar/dttmr-api/internal/repository"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/handler"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/api/middleware"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/domain"
|
||||
"git.dittmar.dev/robin/dttmr-api/internal/repository"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
|
||||
Reference in New Issue
Block a user