Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
go-dev-container
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kunkka王辉
go-dev-container
Commits
f175a194
Commit
f175a194
authored
Feb 04, 2024
by
Kunkka王辉
😲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: dev
parent
24520bbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
63 additions
and
0 deletions
+63
-0
Dockerfile
.devcontainer/Dockerfile
+1
-0
devcontainer.json
.devcontainer/devcontainer.json
+62
-0
No files found.
.devcontainer/Dockerfile
0 → 100644
View file @
f175a194
FROM
golang:bookworm
.devcontainer/devcontainer.json
0 → 100644
View file @
f175a194
{
"name"
:
"project-dev"
,
"dockerFile"
:
"dockerFile"
,
"service"
:
"vscode"
,
"runServices"
:
[
"vscode"
],
"shutdownAction"
:
"stopCompose"
,
"postCreateCommand"
:
"~/.windows.sh && go mod download && go mod tidy"
,
"workspaceFolder"
:
"/workspace"
,
//
"overrideCommand"
:
""
,
"customizations"
:
{
"vscode"
:
{
"extensions"
:
[
"golang.go"
,
"eamodio.gitlens"
,
//
IDE
Git
information
"davidanson.vscode-markdownlint"
,
"ms-azuretools.vscode-docker"
,
//
Docker
integration
and
linting
"shardulm94.trailing-spaces"
,
//
Show
trailing
spaces
"Gruntfuggly.todo-tree"
,
//
Highlights
TODO
comments
"bierner.emojisense"
,
//
Emoji
sense
for
markdown
"stkb.rewrap"
,
//
rewrap
comments
after
n
characters
on
one
line
"vscode-icons-team.vscode-icons"
,
//
Better
file
extension
icons
],
"settings"
:
{
"files.eol"
:
"
\n
"
,
"editor.formatOnSave"
:
true
,
"go.buildTags"
:
""
,
"go.toolsEnvVars"
:
{
"CGO_ENABLED"
:
"0"
},
"go.useLanguageServer"
:
true
,
"go.testEnvVars"
:
{
"CGO_ENABLED"
:
"1"
},
"go.testFlags"
:
[
"-v"
,
"-race"
],
"go.testTimeout"
:
"10s"
,
"go.coverOnSingleTest"
:
true
,
"go.coverOnSingleTestFile"
:
true
,
"go.coverOnTestPackage"
:
true
,
"go.lintTool"
:
"golangci-lint"
,
"go.lintOnSave"
:
"package"
,
"[go]"
:
{
"editor.codeActionsOnSave"
:
{
"source.organizeImports"
:
true
}
},
"gopls"
:
{
"usePlaceholders"
:
false
,
"staticcheck"
:
true
,
"vulncheck"
:
"Imports"
},
"remote.extensionKind"
:
{
"ms-azuretools.vscode-docker"
:
"workspace"
}
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment