- Golang SDK
- 下载:
| mklink /D C:\ProgramData\Microsoft\VisualStudio\Packages "D:\ProgramData\Microsoft\VisualStudio\Packages" | |
| mklink /D "C:\ProgramData\Package Cache" "D:\ProgramData\Package Cache" |
| using System.Text.RegularExpressions; | |
| using Microsoft.AspNetCore.Mvc.ApplicationModels; | |
| namespace TupMvcCore.Conventions | |
| { | |
| /// <summary> | |
| /// Default Area Load ControllerModelConvention | |
| /// </summary> | |
| public class DefaultAreaConvention : IControllerModelConvention |
| @ECHO off | |
| ECHO ------------------build goyacc------------------ | |
| go build -v -o bin/goyacc.exe parser/goyacc/main.go | |
| ECHO ------------------gen parser.go------------------ | |
| bin\goyacc.exe -o NUL -xegen temp_parser_file parser/parser.y | |
| bin\goyacc.exe -o parser/parser.go -xe temp_parser_file parser/parser.y | |
| rm -f y.output | |
| rm -f temp_parser_file |
| package main | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "errors" | |
| "reflect" | |
| "github.com/boltdb/bolt" |
| // Place your key bindings in this file to overwrite the defaults | |
| [ | |
| { | |
| "key": "ctrl+u", | |
| "command": "editor.action.transformToLowercase", | |
| "when": "editorTextFocus && !editorReadonly" | |
| }, | |
| { | |
| "key": "ctrl+shift+u", | |
| "command": "editor.action.transformToUppercase", |
VSCode 开发配置
settings.json
VSCode 工作区配置. 菜单 文件->个性化配置->工作区设置 来触发本配置.
GOPATH 多个路径在 Mac 下需要 : 分割, Windows 下需要 ; 分割, 下面涉及到的 GOPATH 都遵循此规则.
本节点配置后需要重启 VSCode 来生效.
- update-grub2
- sudo gedit /etc/default/grub
- ubuntu-mate-core >* ubuntu-mate-desktop
dlv version)?master
go version)?