Documentation ¶ Index ¶ type Gopher func (gopher Gopher) Kapow() error func (gopher *Gopher) Zap() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Gopher ¶ type Gopher struct { Id bson.ObjectId `bson:"_id"` Name string Skillz []string Born time.Time Mutated time.Time } func (Gopher) Kapow ¶ func (gopher Gopher) Kapow() error Pow removes a gopher's skills. However, if a gopher already has no skills, Kapow returns an error If gopher already has no skills, then return an error NOTE: this is used inside gophertron as an example of incorrect pointer usage func (*Gopher) Zap ¶ func (gopher *Gopher) Zap() Zap removes a gopher's skillz Source Files ¶ View all Source files gopher_model.go Click to show internal directories. Click to hide internal directories.