package sixteen import "fmt" type Sixteen struct { bits packet } func Init(filepath string) *Sixteen { sixteen := &Sixteen{ bits: packet{}, } sixteen.bits = load(filepath) return sixteen } func (d *Sixteen) Answer() string { return fmt.Sprintf("The sum of the version numbers is %d", d.bits.versionSum()) } func (d *Sixteen) FollowUp() string { return "sixteen part 2 answer for bits" }