From 0189fad0e29648083a3fee6c7b33c9f196a0e27c Mon Sep 17 00:00:00 2001 From: Ella Pietraroia Date: Fri, 31 Jan 2020 14:25:26 +1030 Subject: [PATCH] fixing comments --- filter/basic.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filter/basic.go b/filter/basic.go index 88754913..208273df 100644 --- a/filter/basic.go +++ b/filter/basic.go @@ -51,7 +51,7 @@ const ( type pixel struct{ r, g, b uint32 } -// BasicFilter is a filter that provides basic motion detection via a difference +// Basic is a filter that provides basic motion detection via a difference // method. type Basic struct { dst io.WriteCloser @@ -65,7 +65,7 @@ type Basic struct { debug bool } -// NewBasicFilter returns a pointer to a new Basic filter struct. +// NewBasic returns a pointer to a new Basic filter struct. func NewBasic(dst io.WriteCloser, debug bool) *Basic { bwImg := image.NewRGBA(image.Rect(0, 0, 0, 0)) var file io.WriteCloser