13 lines
343 B
Go
13 lines
343 B
Go
package keybinding
|
|
|
|
import "forge.lthn.ai/core/go/pkg/core"
|
|
|
|
func Register(p Platform) func(*core.Core) (any, error) {
|
|
return func(c *core.Core) (any, error) {
|
|
return &Service{
|
|
ServiceRuntime: core.NewServiceRuntime[Options](c, Options{}),
|
|
platform: p,
|
|
registeredBindings: make(map[string]BindingInfo),
|
|
}, nil
|
|
}
|
|
}
|