add doc.go for main pkg