style: 移动登录信息结构体位置

This commit is contained in:
Mmx
2021-11-25 09:42:32 +08:00
parent ee86c3ad94
commit a4e91eb251
5 changed files with 32 additions and 26 deletions

View File

@@ -1,5 +1,7 @@
package srunModels
import "github.com/Mmx233/BitSrunLoginGo/v1/transfer"
type Daemon struct {
Enable bool `json:"enable"`
Path string `json:"path"`
@@ -18,7 +20,7 @@ type Settings struct {
}
type Config struct {
Form LoginForm `json:"form"`
Meta LoginMeta `json:"meta"`
Settings Settings `json:"settings"`
Form srunTransfer.LoginForm `json:"form"`
Meta srunTransfer.LoginMeta `json:"meta"`
Settings Settings `json:"settings"`
}