feat: 添加Go开发工具并重构空间服务初始化逻辑
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

在Dockerfile中添加多个Go开发工具
将空间服务的初始化逻辑从GetSpace方法提取到独立的init方法
优化代码结构并修复导入顺序
This commit is contained in:
xinian
2026-03-01 13:47:56 +08:00
committed by cnb
parent 6758483ab2
commit 7a12aa44eb
2 changed files with 66 additions and 58 deletions

View File

@@ -36,7 +36,10 @@ ENV GOPATH /root/go
ENV PATH="${PATH}:${GOPATH}/bin"
RUN go install -v golang.org/x/tools/gopls@latest
RUN go install -v github.com/cweill/gotests/gotests@latest
RUN go install -v github.com/josharian/impl@latestD
RUN go install -v github.com/haya14busa/goplay/cmd/goplay@latest
RUN go install -v github.com/go-delve/delve/cmd/dlv@latest
# install goreleaser
RUN go install github.com/goreleaser/goreleaser/v2@latest