Help needed with reviewing 2 trivial Golang packages