- What version of Delve are you using (
dlv version
)?
master
- What version of Go are you using? (
go version
)?
/* ===add file: \liteide\share\liteide\liteapp\qss\vs-dark-hdpi.qss ===*/ | |
/* ===FROM: https://gist.github.com/tupunco/fdb713ec9c6189a877e5eb003bd0457d ===*/ | |
/* === Shared === */ | |
QStackedWidget, QLabel, QPushButton, QRadioButton, QCheckBox, | |
QGroupBox, QStatusBar, QToolButton, QComboBox, QDialog, QListView, | |
QTabBar, QMenu, QMenuBar, QWidget::window { | |
background-color: #252526; | |
color: #F1F1F1; | |
} |
public interface IRng | |
{ | |
int Next(int maxValue); | |
int Next(int minValue, int maxValue); | |
int Next(); | |
void NextBytes(byte[] buffer); | |
double NextDouble(); | |
} |
package utils | |
import ( | |
"crypto/rand" | |
"errors" | |
"math/big" | |
prand "math/rand" | |
"time" | |
) |
dlv version
)?master
go version
)?
- update-grub2
- sudo gedit /etc/default/grub
- ubuntu-mate-core >* ubuntu-mate-desktop
VSCode 开发配置
settings.json
VSCode 工作区配置. 菜单 文件->个性化配置->工作区设置
来触发本配置.
GOPATH
多个路径在 Mac
下需要 :
分割, Windows
下需要 ;
分割, 下面涉及到的 GOPATH
都遵循此规则.
本节点配置后需要重启
VSCode 来生效.
// 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", |
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"errors" | |
"reflect" | |
"github.com/boltdb/bolt" |
@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 |