Software Development

Go Tooling

Notes based on: Go Tooling in Action – YouTube go build go install go get go get -d: download the code, but do not compile anything. go get -u: even if the code is already stored in GOPATH, download the latest version. go get -v: enable verbose mode. See: The Go tool will first try …

Go Tooling Read More »

Kernel Coding Style

The following sections from kernel coding style can be applied to almost all programming languages. 6) Functions Functions should be short and sweet, and do just one thing. They shouldfit on one or two screenfuls of text (the ISO/ANSI screen size is 80×24,as we all know), and do one thing and do that well. The …

Kernel Coding Style Read More »

Git Commit Message Convention

The reasons for these conventions: automatic generating of the changelog explicit commit history simple navigation through git history easier to write automated tools on top of commit history Commit message format: The commit contains the following structural elements, to communicate intent to the consumers of your library: fix: a commit of the type fix patches a bug in your …

Git Commit Message Convention Read More »