package lib type IAction interface { ShowInfo() CallerInfo } type Action struct { // scene *scene Key string Desc string } func NewAction() *Action { a := &Action{} return a }