style: Module name

This commit is contained in:
lejianwen
2025-02-12 19:46:39 +08:00
parent 624dcacac5
commit 18eff791b2
79 changed files with 262 additions and 263 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ package admin
import (
"encoding/json"
"github.com/lejianwen/rustdesk-api/model"
"github.com/lejianwen/rustdesk-api/v2/model"
)
type AddressBookForm struct {
+1 -1
View File
@@ -1,6 +1,6 @@
package admin
import "github.com/lejianwen/rustdesk-api/model"
import "github.com/lejianwen/rustdesk-api/v2/model"
type GroupForm struct {
Id uint `json:"id"`
+1 -1
View File
@@ -1,7 +1,7 @@
package admin
import (
"github.com/lejianwen/rustdesk-api/model"
"github.com/lejianwen/rustdesk-api/v2/model"
)
type BindOauthForm struct {
+1 -1
View File
@@ -1,6 +1,6 @@
package admin
import "github.com/lejianwen/rustdesk-api/model"
import "github.com/lejianwen/rustdesk-api/v2/model"
type PeerForm struct {
RowId uint `json:"row_id" `
+1 -1
View File
@@ -1,6 +1,6 @@
package admin
import "github.com/lejianwen/rustdesk-api/model"
import "github.com/lejianwen/rustdesk-api/v2/model"
type TagForm struct {
Id uint `json:"id"`
+1 -1
View File
@@ -1,7 +1,7 @@
package admin
import (
"github.com/lejianwen/rustdesk-api/model"
"github.com/lejianwen/rustdesk-api/v2/model"
)
type UserForm struct {
+2 -2
View File
@@ -2,8 +2,8 @@ package api
import (
"encoding/json"
"github.com/lejianwen/rustdesk-api/global"
"github.com/lejianwen/rustdesk-api/model"
"github.com/lejianwen/rustdesk-api/v2/global"
"github.com/lejianwen/rustdesk-api/v2/model"
"strconv"
)
+1 -1
View File
@@ -1,6 +1,6 @@
package api
import "github.com/lejianwen/rustdesk-api/model"
import "github.com/lejianwen/rustdesk-api/v2/model"
type AddressBookFormData struct {
Tags []string `json:"tags"`