Skip to content

zonglinpeng/distributed_algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS 425


Development Environment configuration

Golang

Install

# version >= 1.13
go version
go get golang.org/x/tools/cmd/goimports
go get -u github.com/rakyll/gotest

VSCode

# extension id golang.go
code --install-extension golang.go

Commonly used quick commands

fmt code

bash ./script/unix/fmt.bash
./script/linux/fmt.bash

build mp0 static binary to ./bin

bash ./script/unix/mp0/build.bash
./script/linux/mp0/build.sh
# just stderr
mp0-s 8080 1> /dev/null
# just stdout
mp0-s 8080 2> /dev/null

Find this list of possible platforms

go tool dist list

test Spec

gotest -mod vendor -v ./<>

test All

gotest -mod vendor -v ./...

trace log

LOG=trace

json log

LOG=json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published