I just saw a presentation of the Go programming language and thought I\'d try to write a few lines. Everything worked fine until I tried to use an interface in this situation. H
Change it to: doSomething(&e). func (e *entity) inc() satisfies incer interface only for *entity type. There is no inc() for just entity type and that's what's you're passing to doSomething().