Skip to content

Instantly share code, notes, and snippets.

@phuctm97
Created September 23, 2019 16:31
Show Gist options
  • Save phuctm97/95613d637d188cb03f33099f427e812b to your computer and use it in GitHub Desktop.
Save phuctm97/95613d637d188cb03f33099f427e812b to your computer and use it in GitHub Desktop.
Go RESTful Series
{
"dockerFile": "Dockerfile",
// Configure port mapping between localhost and development container,
// should be updated respectively to exposed service ports of referencing container.
"appPort": [
"8000:8000"
],
// Configure to mount local workspace directory to an appropriate workspace directory
// within development container.
"workspaceMount": "src=${localWorkspaceFolder},dst=/root/project,type=bind",
"workspaceFolder": "/root/project",
// Configure VSCode extensions to be installed into development container's underlying VSCode-Server
// once having finished launching.
"extensions": [
"ms-vscode.go"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment