mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-09 03:50:26 +08:00
初步实现安装界面
This commit is contained in:
@@ -20,7 +20,13 @@ func NewFileChunkDAO() *FileChunkDAO {
|
||||
}).(*FileChunkDAO)
|
||||
}
|
||||
|
||||
var SharedFileChunkDAO = NewFileChunkDAO()
|
||||
var SharedFileChunkDAO *FileChunkDAO
|
||||
|
||||
func init() {
|
||||
dbs.OnReady(func() {
|
||||
SharedFileChunkDAO = NewFileChunkDAO()
|
||||
})
|
||||
}
|
||||
|
||||
// 创建文件Chunk
|
||||
func (this *FileChunkDAO) CreateFileChunk(fileId int, data []byte) error {
|
||||
|
||||
Reference in New Issue
Block a user