Fix example go code in doc.go