diff --git a/.gitignore b/.gitignore index 2c41608..f881e13 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,52 @@ -# 编译产物 -/server -*.exe -*.out - -# 依赖库 -/vendor/ - -# 编辑器与系统生成 +# --- Root --- +.DS_Store .idea/ .vscode/ -.DS_Store \ No newline at end of file + +# --- Backend (Go) --- +backend/hightube.db +backend/server +backend/*.exe +backend/*.out +backend/vendor/ + +# --- Frontend (Flutter) --- +frontend/.dart_tool/ +frontend/.packages +frontend/.pub-cache/ +frontend/.pub/ +frontend/build/ +frontend/ios/Flutter/Generated.xcconfig +frontend/ios/Flutter/flutter_export_environment.sh +frontend/android/local.properties +frontend/android/app/src/main/res/drawable/launch_background.xml +frontend/android/app/src/main/res/values/styles.xml +frontend/android/app/src/main/res/values-night/styles.xml +frontend/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +frontend/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +frontend/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +frontend/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +frontend/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +frontend/android/app/src/main/res/values-v21/styles.xml +frontend/android/app/src/main/res/values-v21/styles-night.xml +frontend/android/app/src/main/res/values-v11/styles.xml +frontend/android/app/src/main/res/values-v11/styles-night.xml +frontend/ios/Runner/Assets.xcassets/AppIcon.appiconset/*.png +frontend/ios/Runner/Base.lproj/LaunchScreen.storyboard +frontend/ios/Runner/Base.lproj/Main.storyboard +frontend/ios/Runner/Info.plist +frontend/ios/Runner/Runner.entitlements +frontend/linux/flutter/generated_plugins.cmake +frontend/macos/Flutter/Generated.xcconfig +frontend/macos/Flutter/ephemeral/ +frontend/windows/flutter/generated_plugins.cmake +frontend/windows/flutter/generated_plugin_registrant.cc +frontend/windows/flutter/generated_plugin_registrant.h +frontend/web/index.html +frontend/web/favicon.png +frontend/web/manifest.json +frontend/web/robots.txt +frontend/web/icons/Icon-192.png +frontend/web/icons/Icon-512.png +frontend/web/icons/Icon-maskable-192.png +frontend/web/icons/Icon-maskable-512.png \ No newline at end of file diff --git a/cmd/server/main.go b/backend/cmd/server/main.go similarity index 100% rename from cmd/server/main.go rename to backend/cmd/server/main.go diff --git a/go.mod b/backend/go.mod similarity index 100% rename from go.mod rename to backend/go.mod diff --git a/go.sum b/backend/go.sum similarity index 100% rename from go.sum rename to backend/go.sum diff --git a/internal/api/auth.go b/backend/internal/api/auth.go similarity index 100% rename from internal/api/auth.go rename to backend/internal/api/auth.go diff --git a/internal/api/middleware.go b/backend/internal/api/middleware.go similarity index 100% rename from internal/api/middleware.go rename to backend/internal/api/middleware.go diff --git a/internal/api/room.go b/backend/internal/api/room.go similarity index 100% rename from internal/api/room.go rename to backend/internal/api/room.go diff --git a/internal/api/router.go b/backend/internal/api/router.go similarity index 100% rename from internal/api/router.go rename to backend/internal/api/router.go diff --git a/internal/db/db.go b/backend/internal/db/db.go similarity index 100% rename from internal/db/db.go rename to backend/internal/db/db.go diff --git a/internal/model/room.go b/backend/internal/model/room.go similarity index 100% rename from internal/model/room.go rename to backend/internal/model/room.go diff --git a/internal/model/user.go b/backend/internal/model/user.go similarity index 100% rename from internal/model/user.go rename to backend/internal/model/user.go diff --git a/internal/stream/server.go b/backend/internal/stream/server.go similarity index 100% rename from internal/stream/server.go rename to backend/internal/stream/server.go diff --git a/internal/utils/utils.go b/backend/internal/utils/utils.go similarity index 100% rename from internal/utils/utils.go rename to backend/internal/utils/utils.go diff --git a/hightube.db b/hightube.db deleted file mode 100644 index 3d621ff..0000000 Binary files a/hightube.db and /dev/null differ