Command Palette
Search for a command to run...
Comments
Join the discussionNo comments yet. Be the first to comment.
More from this blog
Compile Run and Debug C Program in WSL
I use below softwares for C development in Windows 10. VS Code WSL 2 (Ubuntu) Install development tool sudo apt-get update sudo apt install gcc sudo apt-get install build-essential gdb sudo apt-get install make or sudo apt-get install build-essen...
Install tree command in windows 10
tree - list contents of directories in a tree-like format. https://linux.die.net/man/1/tree Step 1: Install gitbash Git for windows Step 2: Download Binaries of tree command tree Step 3: Put the tree command in folder Extract tree.exe to C:\Program...
Use Go Module Step By Step Guide
It is frustrating using Go Module for new Goer. This guide will not talk about too much how does Go find the package/modules but will show you step-by-step how to create and test a module in a Windows system. Assumption Go version >= 1.16 Go is set...
Golang 实例 - channel的使用
需求 协程每隔1秒, 连续3次打印 [go routine] working on it. 然后把ping通过channel通知主线程任务完成. 主线程接收到ping后, 打印 [main] All done, 然后程序退出. 这个例子演示了 go channel 的简单使用. 代码 package main import ( "fmt" "time" ) func worker(chanWorker chan string) { fmt.Printf("[go ...
Golang - iota
Requirement Define a function to return a storage size string in a human reading format (KB, MB etc) type ByteSize float64 const ( _ = iota KB ByteSize = 1 << (10 * iota) MB GB TB PB EB ZB YB ) func (b ...