This repository has been archived on 2019-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
mumbledj/vendor/github.com/layeh/gumble/gumble/contextactions.go
2016-06-20 17:50:40 -07:00

13 lines
278 B
Go

package gumble
// ContextActions is a map of ContextActions.
type ContextActions map[string]*ContextAction
func (ca ContextActions) create(action string) *ContextAction {
contextAction := &ContextAction{
Name: action,
}
ca[action] = contextAction
return contextAction
}