File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -7,32 +7,32 @@ import (
77)
88
99type SomethingHappened struct {
10- ocurredOn time.Time
10+ occurredOn time.Time
1111}
1212
1313func NewSomethingHappened () SomethingHappened {
1414 return SomethingHappened {time .Now ()}
1515}
1616
17- func (e SomethingHappened ) OcurredOn () time.Time {
18- return e .ocurredOn
17+ func (e SomethingHappened ) OccurredOn () time.Time {
18+ return e .occurredOn
1919}
2020
2121type RecipeCreated struct {
22- ocurredOn time.Time
22+ occurredOn time.Time
2323}
2424
25- func (e RecipeCreated ) OcurredOn () time.Time {
26- return e .ocurredOn
25+ func (e RecipeCreated ) OccurredOn () time.Time {
26+ return e .occurredOn
2727}
2828
2929type RecipeRated struct {
30- ocurredOn time.Time
30+ occurredOn time.Time
3131 Rating int
3232}
3333
34- func (e RecipeRated ) OcurredOn () time.Time {
35- return e .ocurredOn
34+ func (e RecipeRated ) OccurredOn () time.Time {
35+ return e .occurredOn
3636}
3737
3838type Recipe struct {
You can’t perform that action at this time.
0 commit comments