Skip to content

Commit

Permalink
receiver for Generate() can be a pointer (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcktdmp authored Mar 6, 2020
1 parent cdc372a commit ba33c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cefevent/cefevent.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func cefEscapeExtension(field string) string {
return replacer.Replace(field)
}

func (event CefEvent) Generate() string {
func (event *CefEvent) Generate() string {

// todo: do this nicely with methods
event.Version = cefEscapeField(event.Version)
Expand Down

0 comments on commit ba33c4a

Please sign in to comment.