Skip to content

Commit

Permalink
[Fix] Readme spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGalek committed Feb 11, 2025
1 parent 0fe5f98 commit f224a5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ package main

import (
"fmt"
"app"
"app"
"github.com/gouef/hooks"
)

Expand All @@ -112,7 +112,7 @@ func main() {
subscriber := &app.Subscriber{Name: "Subscriber 1"}

// Register a hook for the User::create event
hooks.AddHook("User::create", func(event interface{}) {
hooks.AddHook("User::create", func(event interface{}) {
subscriber.OnUserCreated(event)
})

Expand All @@ -134,7 +134,7 @@ import (
"testing"
"app"
"github.com/stretchr/testify/mock"
"github.com/gouef/hooks"
"github.com/gouef/hooks"
)

// MockSubscriber is a mock for the subscriber
Expand Down

0 comments on commit f224a5e

Please sign in to comment.