Improving godocs and adding doc.go in spark package