[fix] misspelling

This commit is contained in:
Max 2022-09-27 21:16:57 +08:00
parent 32e69cbcc0
commit 1d289feeb9
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ func NewProcess(name string, p *Process) *Process {
return p
}
// SetHandler set the hanlder
// SetHandler set the handler
func (p *Process) SetHandler(handler Handler) *Process {
p.Handler = handler
return p

View file

@ -18,5 +18,5 @@ type Process struct {
Handler Handler `json:"-"`
}
// Handler action hanlder
// Handler action handler
type Handler func(p *Process, process *gou.Process) (interface{}, error)