mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-01-28 09:50:35 +00:00
style: Module name
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/service"
|
||||
"encoding/json"
|
||||
_ "encoding/json"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/model"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/model"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/model"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/model"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/model"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/model"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/response"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"os"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/response"
|
||||
"Gwen/lib/upload"
|
||||
"fmt"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/lib/upload"
|
||||
"os"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/controller/api"
|
||||
"Gwen/http/request/admin"
|
||||
apiReq "Gwen/http/request/api"
|
||||
"Gwen/http/response"
|
||||
adResp "Gwen/http/response/admin"
|
||||
"Gwen/model"
|
||||
"Gwen/service"
|
||||
"fmt"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/controller/api"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
apiReq "github.com/lejianwen/rustdesk-api/http/request/api"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
adResp "github.com/lejianwen/rustdesk-api/http/response/admin"
|
||||
"github.com/lejianwen/rustdesk-api/model"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"github.com/mojocn/base64Captcha"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/model"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/model"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package my
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/service"
|
||||
"encoding/json"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package my
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/model"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/model"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package my
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/model"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/model"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package my
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/model"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/model"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package my
|
||||
|
||||
import (
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package my
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package my
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
adminReq "Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
adminReq "github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/model"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/model"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
)
|
||||
|
||||
type Rustdesk struct {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
adResp "Gwen/http/response/admin"
|
||||
"Gwen/model"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
adResp "github.com/lejianwen/rustdesk-api/http/response/admin"
|
||||
"github.com/lejianwen/rustdesk-api/model"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package admin
|
||||
|
||||
import (
|
||||
"Gwen/global"
|
||||
"Gwen/http/request/admin"
|
||||
"Gwen/http/response"
|
||||
"Gwen/model"
|
||||
"Gwen/service"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/lejianwen/rustdesk-api/global"
|
||||
"github.com/lejianwen/rustdesk-api/http/request/admin"
|
||||
"github.com/lejianwen/rustdesk-api/http/response"
|
||||
"github.com/lejianwen/rustdesk-api/model"
|
||||
"github.com/lejianwen/rustdesk-api/service"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user