package gg type contextType int const ( startContext contextType = iota updateContext eventContext drawContext deleteContext ) type Context struct { typ contextType events []any *Engine *Image Event any }