️ 更新 README.md,修正 SQLite3 相关描述,移除 CGO 支持并推荐使用 PostgreSQL 进行开发

This commit is contained in:
2025-06-14 05:14:07 +08:00
parent e13cb7367d
commit babfd75c35
2 changed files with 10 additions and 2 deletions

View File

@@ -84,6 +84,12 @@ jobs:
strategy:
matrix:
include: [
{ goos: "android", goarch: "arm", goarm: "7", output: "armv7" },
{ goos: "android", goarch: "arm", goarm: "6", output: "armv6" },
{ goos: "android", goarch: "arm", goarm: "5", output: "armv5" },
{ goos: "android", goarch: "arm64", output: "arm64"},
{ goos: "android", goarch: "386", output: "386" },
{ goos: "android", goarch: "amd64", output: "amd64" },
{ goos: "darwin", goarch: "amd64", goamd64: "v1", output: "amd64-v1" },
{ goos: "darwin", goarch: "amd64", goamd64: "v3", output: "amd64-v3" },
{ goos: "darwin", goarch: "arm64", output: "arm64" },

View File

@@ -164,15 +164,17 @@ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
### 数据库
最早我们提供了默认的SQLite便于开发者开发调试
由于SQLite3是由C语言编写CGO跨平台兼容性特别便移除了对CGO的支持开发者需要自行部署PostgreSQL进行开发
由于SQLite3是由C语言编写CGO跨平台兼容性特别便移除了对CGO的支持开发者需要自行部署PostgreSQL进行开发
推荐使用容器化一键启动
如果你仍然想使用SQLite3进行开发可以构建我们写好的sqlite插件它在开发时会动态链接过去(仅支持macOS和Linux)
如果你仍然想在开发中使用SQLite3可以构建我们写好的sqlite插件它在开发时会动态链接过去(仅支持macOS和Linux)
```bash
make plugin name=sqlite
```
> 请勿将此用于生产环境,我们不能保证它不会出事
### 前端环境配置
- 安装pnpm和node(或其他运行时例如bundeno)