Update Infra

This commit is contained in:
aditya.siregar
2025-03-04 20:36:17 +07:00
parent ffd40d4f51
commit 3c80b710af
95 changed files with 341 additions and 341 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
package request
import "furtuna-be/internal/entity"
import "enaklo-pos-be/internal/entity"
type BalanceReq struct {
Amount int64 `json:"amount"`
+1 -1
View File
@@ -1,7 +1,7 @@
package request
import (
"furtuna-be/internal/common/mycontext"
"enaklo-pos-be/internal/common/mycontext"
"github.com/gin-gonic/gin"
)
+1 -1
View File
@@ -1,7 +1,7 @@
package request
import (
"furtuna-be/internal/entity"
"enaklo-pos-be/internal/entity"
)
type DiscoveryHomeParam struct {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"github.com/go-playground/validator/v10"
"furtuna-be/internal/entity"
"enaklo-pos-be/internal/entity"
)
type EventParam struct {
+1 -1
View File
@@ -1,7 +1,7 @@
package request
import (
"furtuna-be/internal/entity"
"enaklo-pos-be/internal/entity"
"time"
"github.com/google/uuid"
+1 -1
View File
@@ -1,6 +1,6 @@
package request
import "furtuna-be/internal/entity"
import "enaklo-pos-be/internal/entity"
type MidtransCallbackRequest struct {
VANumbers []VANumber `json:"va_numbers"`
+3 -3
View File
@@ -1,9 +1,9 @@
package request
import (
"furtuna-be/internal/common/mycontext"
"furtuna-be/internal/constants/transaction"
"furtuna-be/internal/entity"
"enaklo-pos-be/internal/common/mycontext"
"enaklo-pos-be/internal/constants/transaction"
"enaklo-pos-be/internal/entity"
"time"
)
+2 -2
View File
@@ -1,8 +1,8 @@
package request
import (
"furtuna-be/internal/common/mycontext"
"furtuna-be/internal/entity"
"enaklo-pos-be/internal/common/mycontext"
"enaklo-pos-be/internal/entity"
)
type PartnerParam struct {
+2 -2
View File
@@ -1,8 +1,8 @@
package request
import (
"furtuna-be/internal/constants/product"
"furtuna-be/internal/entity"
"enaklo-pos-be/internal/constants/product"
"enaklo-pos-be/internal/entity"
)
type ProductParam struct {
+2 -2
View File
@@ -1,8 +1,8 @@
package request
import (
"furtuna-be/internal/common/mycontext"
"furtuna-be/internal/entity"
"enaklo-pos-be/internal/common/mycontext"
"enaklo-pos-be/internal/entity"
)
type Site struct {
+2 -2
View File
@@ -1,9 +1,9 @@
package request
import (
"enaklo-pos-be/internal/constants/studio"
"enaklo-pos-be/internal/entity"
"encoding/json"
"furtuna-be/internal/constants/studio"
"furtuna-be/internal/entity"
)
type StudioParam struct {
+3 -3
View File
@@ -1,9 +1,9 @@
package request
import (
"furtuna-be/internal/common/mycontext"
"furtuna-be/internal/constants/transaction"
"furtuna-be/internal/entity"
"enaklo-pos-be/internal/common/mycontext"
"enaklo-pos-be/internal/constants/transaction"
"enaklo-pos-be/internal/entity"
"github.com/go-playground/validator/v10"
)
+3 -3
View File
@@ -1,9 +1,9 @@
package request
import (
"furtuna-be/internal/common/mycontext"
"furtuna-be/internal/constants/role"
"furtuna-be/internal/entity"
"enaklo-pos-be/internal/common/mycontext"
"enaklo-pos-be/internal/constants/role"
"enaklo-pos-be/internal/entity"
"math/rand"
"strings"
"time"