docs(pointer): 更新指针教程文档 - 添加了图片引用 - 补充了获取用户输入的代码示例 - 增加了命令行参数解析的完整代码示例 - 完善了指针相关概念说明 ```
30 lines
852 B
JSON
30 lines
852 B
JSON
{
|
|
"name": "Go Dev Container (demo)",
|
|
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/common-utils:2": {},
|
|
"ghcr.io/devcontainers/features/go:1": {
|
|
"version": "1.25"
|
|
}
|
|
},
|
|
"remoteUser": "vscode",
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
"postCreateCommand": "cd demo && go mod download && go install github.com/go-delve/delve/cmd/dlv@latest",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": ["golang.go"],
|
|
"settings": {
|
|
"go.useLanguageServer": true,
|
|
"go.toolsManagement.autoUpdate": true,
|
|
"go.gopath": "/go",
|
|
"go.testFlags": ["-v"],
|
|
"go.lintTool": "golangci-lint",
|
|
"go.lintFlags": ["--fast"],
|
|
"[go]": {
|
|
"editor.formatOnSave": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|