add go-style documentation