feat: 添加同步进度显示和中文界面支持
refactor: 重构同步引擎以支持进度跟踪 style: 更新前端界面为中文 docs: 更新README为中文文档
This commit is contained in:
@@ -2,12 +2,13 @@ package database
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
"gitm/internal/models"
|
||||
)
|
||||
|
||||
func TestDatabase(t *testing.T) {
|
||||
tmpDB := "/tmp/test_gitm.db"
|
||||
tmpDB := filepath.Join(os.TempDir(), "test_gitm.db")
|
||||
defer os.Remove(tmpDB)
|
||||
|
||||
if err := Initialize(tmpDB); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user