Skip to content

Commit

Permalink
rename go module name
Browse files Browse the repository at this point in the history
  • Loading branch information
juancwu committed Nov 27, 2024
1 parent 942438d commit 32f3bd8
Show file tree
Hide file tree
Showing 23 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion backend/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/KonferCA/NoKap
module KonferCA/SPUR

go 1.23.2

Expand Down
2 changes: 1 addition & 1 deletion backend/internal/jwt/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"time"

"github.com/KonferCA/NoKap/db"
"KonferCA/SPUR/db"
golangJWT "github.com/golang-jwt/jwt/v5"
)

Expand Down
2 changes: 1 addition & 1 deletion backend/internal/jwt/jwt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/KonferCA/NoKap/db"
"KonferCA/SPUR/db"
golangJWT "github.com/golang-jwt/jwt/v5"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion backend/internal/jwt/types.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package jwt

import (
"github.com/KonferCA/NoKap/db"
"KonferCA/SPUR/db"
golangJWT "github.com/golang-jwt/jwt/v5"
)

Expand Down
2 changes: 1 addition & 1 deletion backend/internal/middleware/jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"strings"

"github.com/KonferCA/NoKap/internal/jwt"
"KonferCA/SPUR/internal/jwt"
"github.com/labstack/echo/v4"
"github.com/rs/zerolog/log"
)
Expand Down
4 changes: 2 additions & 2 deletions backend/internal/middleware/jwt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"os"
"testing"

"github.com/KonferCA/NoKap/db"
"github.com/KonferCA/NoKap/internal/jwt"
"KonferCA/SPUR/db"
"KonferCA/SPUR/internal/jwt"
"github.com/labstack/echo/v4"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion backend/internal/middleware/req_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"reflect"

"github.com/KonferCA/NoKap/db"
"KonferCA/SPUR/db"
"github.com/go-playground/validator/v10"
"github.com/labstack/echo/v4"
"github.com/rs/zerolog/log"
Expand Down
6 changes: 3 additions & 3 deletions backend/internal/server/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"net/http"
"reflect"

"github.com/KonferCA/NoKap/db"
"github.com/KonferCA/NoKap/internal/jwt"
mw "github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
"KonferCA/SPUR/internal/jwt"
mw "KonferCA/SPUR/internal/middleware"
"github.com/jackc/pgx/v5/pgtype"
"github.com/labstack/echo/v4"
"golang.org/x/crypto/bcrypt"
Expand Down
4 changes: 2 additions & 2 deletions backend/internal/server/company.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"net/http"

"github.com/KonferCA/NoKap/db"
mw "github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
mw "KonferCA/SPUR/internal/middleware"
"github.com/labstack/echo/v4"
)

Expand Down
4 changes: 2 additions & 2 deletions backend/internal/server/company_documents.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"net/http"

"github.com/KonferCA/NoKap/db"
mw "github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
mw "KonferCA/SPUR/internal/middleware"
"github.com/labstack/echo/v4"
)

Expand Down
4 changes: 2 additions & 2 deletions backend/internal/server/company_financials.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http"
"strconv"

"github.com/KonferCA/NoKap/db"
mw "github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
mw "KonferCA/SPUR/internal/middleware"
"github.com/labstack/echo/v4"
)

Expand Down
4 changes: 2 additions & 2 deletions backend/internal/server/company_questions_answers.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"net/http"

"github.com/KonferCA/NoKap/db"
mw "github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
mw "KonferCA/SPUR/internal/middleware"
"github.com/labstack/echo/v4"
)

Expand Down
4 changes: 2 additions & 2 deletions backend/internal/server/employee.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"net/http"

"github.com/KonferCA/NoKap/db"
mw "github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
mw "KonferCA/SPUR/internal/middleware"
"github.com/labstack/echo/v4"
)

Expand Down
4 changes: 2 additions & 2 deletions backend/internal/server/funding_transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"net/http"

"github.com/KonferCA/NoKap/db"
mw "github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
mw "KonferCA/SPUR/internal/middleware"
"github.com/labstack/echo/v4"
)

Expand Down
2 changes: 1 addition & 1 deletion backend/internal/server/handler_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"time"

"github.com/KonferCA/NoKap/db"
"KonferCA/SPUR/db"
"github.com/google/uuid"
"github.com/jackc/pgx/v5/pgtype"
"github.com/labstack/echo/v4"
Expand Down
4 changes: 2 additions & 2 deletions backend/internal/server/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"github.com/labstack/echo/v4"
echoMiddleware "github.com/labstack/echo/v4/middleware"

"github.com/KonferCA/NoKap/db"
"github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
"KonferCA/SPUR/internal/middleware"
)

type Server struct {
Expand Down
4 changes: 2 additions & 2 deletions backend/internal/server/meetings.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http"
"time"

"github.com/KonferCA/NoKap/db"
mw "github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
mw "KonferCA/SPUR/internal/middleware"
"github.com/labstack/echo/v4"
)

Expand Down
4 changes: 2 additions & 2 deletions backend/internal/server/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"net/http"

"github.com/KonferCA/NoKap/db"
mw "github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
mw "KonferCA/SPUR/internal/middleware"
"github.com/labstack/echo/v4"
)

Expand Down
4 changes: 2 additions & 2 deletions backend/internal/server/resource_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"net/http"

"github.com/KonferCA/NoKap/db"
mw "github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
mw "KonferCA/SPUR/internal/middleware"
"github.com/labstack/echo/v4"
)

Expand Down
2 changes: 1 addition & 1 deletion backend/internal/server/startup.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"net/http"

"github.com/KonferCA/NoKap/db"
"KonferCA/SPUR/db"
"github.com/google/uuid"
"github.com/labstack/echo/v4"
)
Expand Down
4 changes: 2 additions & 2 deletions backend/internal/server/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"net/http"

"github.com/KonferCA/NoKap/db"
mw "github.com/KonferCA/NoKap/internal/middleware"
"KonferCA/SPUR/db"
mw "KonferCA/SPUR/internal/middleware"
"github.com/labstack/echo/v4"
)

Expand Down
2 changes: 1 addition & 1 deletion backend/internal/server/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package server
import (
"time"

"github.com/KonferCA/NoKap/db"
"KonferCA/SPUR/db"
)

// TODO: Reorder types
Expand Down
4 changes: 2 additions & 2 deletions backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"

"github.com/KonferCA/NoKap/common"
"github.com/KonferCA/NoKap/internal/server"
"KonferCA/SPUR/common"
"KonferCA/SPUR/internal/server"
"github.com/joho/godotenv"
)

Expand Down

0 comments on commit 32f3bd8

Please sign in to comment.