create example package similar to those in go source