Some checks failed
CI / init (push) Has been cancelled
CI / Frontend node 18.16.0 (push) Has been cancelled
CI / Backend go (1.22) (push) Has been cancelled
CI / devops-test (1.22, 18.16.0) (push) Has been cancelled
CI / release-pr (push) Has been cancelled
CI / release-please (push) Has been cancelled
CI / devops-prod (1.22, 18.x) (push) Has been cancelled
CI / docker (push) Has been cancelled
25 lines
442 B
Go
25 lines
442 B
Go
package example
|
|
|
|
import (
|
|
"github.com/flipped-aurora/gin-vue-admin/server/global"
|
|
)
|
|
|
|
// file struct, 文件结构体
|
|
type ExaFile struct {
|
|
global.GVA_MODEL
|
|
FileName string
|
|
FileMd5 string
|
|
FilePath string
|
|
ExaFileChunk []ExaFileChunk
|
|
ChunkTotal int
|
|
IsFinish bool
|
|
}
|
|
|
|
// file chunk struct, 切片结构体
|
|
type ExaFileChunk struct {
|
|
global.GVA_MODEL
|
|
ExaFileID uint
|
|
FileChunkNumber int
|
|
FileChunkPath string
|
|
}
|