type Ash struct {
Comet []byte
Daydream []byte
}
type Bowie struct {
moonage string
daydream string
}
- Mars
func (david *Bowie) Mars() *bolt.DB {}
- Star
func (david *Bowie) Star(orbit []byte, comet []byte) {}
- FiveYears
func (david *Bowie) Star(orbit []byte, comet []byte) {}
- Oddity
func (david *Bowie) Oddity(fn func([]Ashes) {}){}
- LiftOff
func (david *Bowie) LiftOff() {}