Tony Blyler

Email GitHub Facebook Twitter LinkedIn

CI rsync Deployment

Continuous integration (CI) is the practice, in software engineering, of merging all developer working copies to a shared mainline several times a day – Wikipedia There are many ways to skin a cat. The same could be said for deploying compiled code, especially static sites. This site is statically generated with Hugo. Therefore, maintenance, hosting, and deployment are trivial. I personally host all of my private Git repositories, including this site, on GitLab. Read more...

Gophers Swimming In the Sea (cgo)

tldr; Check out tblyler/go-mcrypt Cgo enables the creation of Go packages that call C code. Why? Is there a really a good reason why someone would want to use C with Go? You lose easy cross-platform building (no more go get or go build without concern for extenal dependencies), dependency indepence, awkward memory copying, and the list goes on. Therefore, I advocate to only use cgo as a last resort to keep things the Go way, “simple, reliable, and efficient. Read more...