5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-23 02:21:36 +00:00
matterbridge/vendor/layeh.com/gumble/gumble/contextactions.go
2020-10-01 22:50:56 +02:00

13 lines
276 B
Go

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