Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-09-18 23:06:01 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-19 00:12:14 +0300
commit054cb1dea0d93062e89b915c22f9f318bd82f563 (patch)
treea0b7b7d51dcc759f0f241f67bf2f12a65481f37a /web/controller
parent3757ae0b119c0efe4e6d38a37cea353fb82b0c27 (diff)
go package correction
Diffstat (limited to 'web/controller')
-rw-r--r--web/controller/api.go2
-rw-r--r--web/controller/base.go6
-rw-r--r--web/controller/inbound.go6
-rw-r--r--web/controller/index.go12
-rw-r--r--web/controller/server.go4
-rw-r--r--web/controller/setting.go8
-rw-r--r--web/controller/util.go6
-rw-r--r--web/controller/xray_setting.go2
8 files changed, 23 insertions, 23 deletions
diff --git a/web/controller/api.go b/web/controller/api.go
index 6edd7939..121cb420 100644
--- a/web/controller/api.go
+++ b/web/controller/api.go
@@ -1,7 +1,7 @@
package controller
import (
- "x-ui/web/service"
+ "github.com/mhsanaei/3x-ui/web/service"
"github.com/gin-gonic/gin"
)
diff --git a/web/controller/base.go b/web/controller/base.go
index 492fc2dc..cd4a2ba6 100644
--- a/web/controller/base.go
+++ b/web/controller/base.go
@@ -3,9 +3,9 @@ package controller
import (
"net/http"
- "x-ui/logger"
- "x-ui/web/locale"
- "x-ui/web/session"
+ "github.com/mhsanaei/3x-ui/logger"
+ "github.com/mhsanaei/3x-ui/web/locale"
+ "github.com/mhsanaei/3x-ui/web/session"
"github.com/gin-gonic/gin"
)
diff --git a/web/controller/inbound.go b/web/controller/inbound.go
index 8d610e7d..172e76bc 100644
--- a/web/controller/inbound.go
+++ b/web/controller/inbound.go
@@ -5,9 +5,9 @@ import (
"fmt"
"strconv"
- "x-ui/database/model"
- "x-ui/web/service"
- "x-ui/web/session"
+ "github.com/mhsanaei/3x-ui/database/model"
+ "github.com/mhsanaei/3x-ui/web/service"
+ "github.com/mhsanaei/3x-ui/web/session"
"github.com/gin-gonic/gin"
)
diff --git a/web/controller/index.go b/web/controller/index.go
index c19d1b6e..ee39875a 100644
--- a/web/controller/index.go
+++ b/web/controller/index.go
@@ -5,18 +5,18 @@ import (
"text/template"
"time"
- "x-ui/logger"
- "x-ui/web/service"
- "x-ui/web/session"
+ "github.com/mhsanaei/3x-ui/logger"
+ "github.com/mhsanaei/3x-ui/web/service"
+ "github.com/mhsanaei/3x-ui/web/session"
"github.com/gin-contrib/sessions"
"github.com/gin-gonic/gin"
)
type LoginForm struct {
- Username string `json:"username" form:"username"`
- Password string `json:"password" form:"password"`
- TwoFactorCode string `json:"twoFactorCode" form:"twoFactorCode"`
+ Username string `json:"username" form:"username"`
+ Password string `json:"password" form:"password"`
+ TwoFactorCode string `json:"twoFactorCode" form:"twoFactorCode"`
}
type IndexController struct {
diff --git a/web/controller/server.go b/web/controller/server.go
index 169a1ae7..46a879bd 100644
--- a/web/controller/server.go
+++ b/web/controller/server.go
@@ -7,8 +7,8 @@ import (
"strconv"
"time"
- "x-ui/web/global"
- "x-ui/web/service"
+ "github.com/mhsanaei/3x-ui/web/global"
+ "github.com/mhsanaei/3x-ui/web/service"
"github.com/gin-gonic/gin"
)
diff --git a/web/controller/setting.go b/web/controller/setting.go
index ddd9f55a..5bf226cc 100644
--- a/web/controller/setting.go
+++ b/web/controller/setting.go
@@ -4,10 +4,10 @@ import (
"errors"
"time"
- "x-ui/util/crypto"
- "x-ui/web/entity"
- "x-ui/web/service"
- "x-ui/web/session"
+ "github.com/mhsanaei/3x-ui/util/crypto"
+ "github.com/mhsanaei/3x-ui/web/entity"
+ "github.com/mhsanaei/3x-ui/web/service"
+ "github.com/mhsanaei/3x-ui/web/session"
"github.com/gin-gonic/gin"
)
diff --git a/web/controller/util.go b/web/controller/util.go
index a77d0e35..eb9b1d0a 100644
--- a/web/controller/util.go
+++ b/web/controller/util.go
@@ -5,9 +5,9 @@ import (
"net/http"
"strings"
- "x-ui/config"
- "x-ui/logger"
- "x-ui/web/entity"
+ "github.com/mhsanaei/3x-ui/config"
+ "github.com/mhsanaei/3x-ui/logger"
+ "github.com/mhsanaei/3x-ui/web/entity"
"github.com/gin-gonic/gin"
)
diff --git a/web/controller/xray_setting.go b/web/controller/xray_setting.go
index 2b5e0db1..8d0bb19a 100644
--- a/web/controller/xray_setting.go
+++ b/web/controller/xray_setting.go
@@ -1,7 +1,7 @@
package controller
import (
- "x-ui/web/service"
+ "github.com/mhsanaei/3x-ui/web/service"
"github.com/gin-gonic/gin"
)