Use new name

This commit is contained in:
2015-10-14 03:50:43 +03:00
parent 463609a403
commit 583ac5da5b
4 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -5,12 +5,12 @@ import (
"math/rand"
"time"
"github.com/localhots/uberdaemon"
"github.com/localhots/satan"
)
// NumberPrinter is a daemon that prints numbers once in a while.
type NumberPrinter struct {
uberdaemon.BaseDaemon
satan.BaseDaemon
}
// Startup sets up panic handler and starts enqueuing number printing jobs.
@@ -42,7 +42,7 @@ func (n *NumberPrinter) enqueue() {
}
}
func (n *NumberPrinter) makeActor(num int) uberdaemon.Actor {
func (n *NumberPrinter) makeActor(num int) satan.Actor {
return func() {
if rand.Intn(20) == 0 {
panic("Noooooooooo!")