Update package URI
This commit is contained in:
parent
169b8c2269
commit
f911506891
33 changed files with 72 additions and 72 deletions
|
@ -28,8 +28,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/internal/api"
|
"git.zervo.org/scheduletogether/backend/internal/api"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/config"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
// main starts the server
|
// main starts the server
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module git.zervo.org/scheduletogether/scheduletogetherbackend
|
module git.zervo.org/scheduletogether/backend
|
||||||
|
|
||||||
go 1.22.1
|
go 1.22.1
|
||||||
|
|
||||||
|
|
|
@ -27,10 +27,10 @@ package handlers
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/internal/api/middlewares"
|
"git.zervo.org/scheduletogether/backend/internal/api/middlewares"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/internal/api/services/accounts"
|
"git.zervo.org/scheduletogether/backend/internal/api/services/accounts"
|
||||||
perms "git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/permissions"
|
perms "git.zervo.org/scheduletogether/backend/pkg/permissions"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AccountHandler_RegisterRoutes registers routes for the AccountHandler
|
// AccountHandler_RegisterRoutes registers routes for the AccountHandler
|
||||||
|
|
|
@ -27,11 +27,11 @@ package handlers
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/internal/api/middlewares"
|
"git.zervo.org/scheduletogether/backend/internal/api/middlewares"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/internal/api/services/friends"
|
"git.zervo.org/scheduletogether/backend/internal/api/services/friends"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/request"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/request"
|
||||||
perms "git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/permissions"
|
perms "git.zervo.org/scheduletogether/backend/pkg/permissions"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// FriendHandler_RegisterRoutes registers routes for the AccountHandler
|
// FriendHandler_RegisterRoutes registers routes for the AccountHandler
|
||||||
|
|
|
@ -29,7 +29,7 @@ import (
|
||||||
|
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PingHandler_RegisterRoutes registers routes for the PingHandler
|
// PingHandler_RegisterRoutes registers routes for the PingHandler
|
||||||
|
|
|
@ -27,9 +27,9 @@ package handlers
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/internal/api/middlewares"
|
"git.zervo.org/scheduletogether/backend/internal/api/middlewares"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/internal/api/services/users"
|
"git.zervo.org/scheduletogether/backend/internal/api/services/users"
|
||||||
perms "git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/permissions"
|
perms "git.zervo.org/scheduletogether/backend/pkg/permissions"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UserHandler_RegisterRoutes registers routes for the UserHandler
|
// UserHandler_RegisterRoutes registers routes for the UserHandler
|
||||||
|
|
|
@ -30,8 +30,8 @@ import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
"github.com/kataras/iris/v12/middleware/jwt"
|
"github.com/kataras/iris/v12/middleware/jwt"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/cryptography"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/cryptography"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -29,9 +29,9 @@ import (
|
||||||
|
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/request"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/request"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/permissions"
|
"git.zervo.org/scheduletogether/backend/pkg/permissions"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Authorize checks users permissions to access a resource
|
// Authorize checks users permissions to access a resource
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
package middlewares
|
package middlewares
|
||||||
|
|
||||||
import "git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/logging"
|
import "git.zervo.org/scheduletogether/backend/pkg/helpers/logging"
|
||||||
|
|
||||||
var logboi = logging.NewLogger("api.middlewares")
|
var logboi = logging.NewLogger("api.middlewares")
|
||||||
|
|
|
@ -32,11 +32,11 @@ import (
|
||||||
"github.com/kataras/iris/v12/middleware/logger"
|
"github.com/kataras/iris/v12/middleware/logger"
|
||||||
"github.com/kataras/iris/v12/middleware/recover"
|
"github.com/kataras/iris/v12/middleware/recover"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/internal/api/handlers"
|
"git.zervo.org/scheduletogether/backend/internal/api/handlers"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
"git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/internal/workers"
|
"git.zervo.org/scheduletogether/backend/internal/workers"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/config"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/config"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/logging"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/logging"
|
||||||
)
|
)
|
||||||
|
|
||||||
var logboi = logging.NewLogger("api.server")
|
var logboi = logging.NewLogger("api.server")
|
||||||
|
|
|
@ -27,9 +27,9 @@ package accounts
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/cryptography"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/cryptography"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AccountRegister_Service registers a new user
|
// AccountRegister_Service registers a new user
|
||||||
|
|
|
@ -32,9 +32,9 @@ import (
|
||||||
"github.com/kataras/iris/v12/middleware/jwt"
|
"github.com/kataras/iris/v12/middleware/jwt"
|
||||||
"golang.org/x/crypto/bcrypt"
|
"golang.org/x/crypto/bcrypt"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/config"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/config"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AccountSignin_Service signs in a user and returns a jwt token
|
// AccountSignin_Service signs in a user and returns a jwt token
|
||||||
|
|
|
@ -27,7 +27,7 @@ package accounts
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AccountSignout_Service signs out a user by invalidating the jwt token
|
// AccountSignout_Service signs out a user by invalidating the jwt token
|
||||||
|
|
|
@ -27,8 +27,8 @@ package accounts
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AccountVerify_Service verifies an account
|
// AccountVerify_Service verifies an account
|
||||||
|
|
|
@ -33,10 +33,10 @@ import (
|
||||||
"github.com/kataras/iris/v12/middleware/jwt"
|
"github.com/kataras/iris/v12/middleware/jwt"
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/logging"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/logging"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/validation"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/validation"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
var logboi = logging.NewLogger("api.services.accounts")
|
var logboi = logging.NewLogger("api.services.accounts")
|
||||||
|
|
|
@ -29,9 +29,9 @@ import (
|
||||||
|
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/request"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/request"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func FriendAccept_Service(ctx iris.Context, req types.FriendsAcceptRequest) {
|
func FriendAccept_Service(ctx iris.Context, req types.FriendsAcceptRequest) {
|
||||||
|
|
|
@ -29,9 +29,9 @@ import (
|
||||||
|
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/request"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/request"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func FriendAdd_Service(ctx iris.Context, req types.FriendsAddRequest) {
|
func FriendAdd_Service(ctx iris.Context, req types.FriendsAddRequest) {
|
||||||
|
|
|
@ -29,9 +29,9 @@ import (
|
||||||
|
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/request"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/request"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func FriendCancel_Service(ctx iris.Context, req types.FriendsAcceptRequest) {
|
func FriendCancel_Service(ctx iris.Context, req types.FriendsAcceptRequest) {
|
||||||
|
|
|
@ -27,8 +27,8 @@ package friends
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func FriendsGetRequests_Service(ctx iris.Context, id uint) {
|
func FriendsGetRequests_Service(ctx iris.Context, id uint) {
|
||||||
|
|
|
@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
package friends
|
package friends
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/logging"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/logging"
|
||||||
)
|
)
|
||||||
|
|
||||||
var logboi = logging.NewLogger("api.services.friends")
|
var logboi = logging.NewLogger("api.services.friends")
|
||||||
|
|
|
@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
package users
|
package users
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/logging"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/logging"
|
||||||
)
|
)
|
||||||
|
|
||||||
var logboi = logging.NewLogger("api.services.users")
|
var logboi = logging.NewLogger("api.services.users")
|
||||||
|
|
|
@ -27,8 +27,8 @@ package users
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UsersGet_Service gets all users from the database
|
// UsersGet_Service gets all users from the database
|
||||||
|
|
|
@ -27,8 +27,8 @@ package users
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UsersGetById_Service gets a single user from the database by id
|
// UsersGetById_Service gets a single user from the database by id
|
||||||
|
|
|
@ -27,8 +27,8 @@ package users
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UsersGetByUuid_Service gets all users from the database by uuid
|
// UsersGetByUuid_Service gets all users from the database by uuid
|
||||||
|
|
|
@ -27,9 +27,9 @@ package users
|
||||||
import (
|
import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/request"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/request"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UsersGetSelf_Service gets all users from the database
|
// UsersGetSelf_Service gets all users from the database
|
||||||
|
|
|
@ -30,8 +30,8 @@ import (
|
||||||
"gorm.io/driver/sqlite"
|
"gorm.io/driver/sqlite"
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/config"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/config"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/logging"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/logging"
|
||||||
)
|
)
|
||||||
|
|
||||||
var logboi = logging.NewLogger("database")
|
var logboi = logging.NewLogger("database")
|
||||||
|
|
|
@ -29,7 +29,7 @@ import (
|
||||||
|
|
||||||
"github.com/robfig/cron/v3"
|
"github.com/robfig/cron/v3"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/logging"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/logging"
|
||||||
)
|
)
|
||||||
|
|
||||||
var logboi = logging.NewLogger("workers")
|
var logboi = logging.NewLogger("workers")
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
)
|
)
|
||||||
|
|
||||||
func workerFriends_PurgeAbandonedRequests() {
|
func workerFriends_PurgeAbandonedRequests() {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
|
|
||||||
db "git.zervo.org/scheduletogether/scheduletogetherbackend/internal/database"
|
db "git.zervo.org/scheduletogether/backend/internal/database"
|
||||||
)
|
)
|
||||||
|
|
||||||
func workerSchedules_PurgeAbandonedData() {
|
func workerSchedules_PurgeAbandonedData() {
|
||||||
|
|
|
@ -29,7 +29,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Required environment variables
|
// Required environment variables
|
||||||
|
|
|
@ -29,8 +29,8 @@ import (
|
||||||
|
|
||||||
"golang.org/x/crypto/bcrypt"
|
"golang.org/x/crypto/bcrypt"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/config"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/config"
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/helpers/logging"
|
"git.zervo.org/scheduletogether/backend/pkg/helpers/logging"
|
||||||
)
|
)
|
||||||
|
|
||||||
var logboi = logging.NewLogger("crypto")
|
var logboi = logging.NewLogger("crypto")
|
||||||
|
|
|
@ -28,7 +28,7 @@ import (
|
||||||
"github.com/kataras/iris/v12"
|
"github.com/kataras/iris/v12"
|
||||||
"github.com/kataras/iris/v12/middleware/jwt"
|
"github.com/kataras/iris/v12/middleware/jwt"
|
||||||
|
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetUserClaims(ctx iris.Context) *types.Claims {
|
func GetUserClaims(ctx iris.Context) *types.Claims {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package permissions
|
package permissions
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.zervo.org/scheduletogether/scheduletogetherbackend/pkg/types"
|
"git.zervo.org/scheduletogether/backend/pkg/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in a new issue