From 489b03138f19d9b126c66fb22813ff71b1d17b5a Mon Sep 17 00:00:00 2001 From: CodeLingo Bot Date: Mon, 11 Mar 2019 00:45:01 +0000 Subject: [PATCH] Fix function comments based on best practices from Effective Go Signed-off-by: CodeLingo Bot --- pixelgl/input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixelgl/input.go b/pixelgl/input.go index 5cf2d9a..aa16b64 100644 --- a/pixelgl/input.go +++ b/pixelgl/input.go @@ -54,7 +54,7 @@ func (w *Window) SetMousePosition(v pixel.Vec) { }) } -// MouseEntered returns true if the mouse position is within the Window's Bounds. +// MouseInsideWindow returns true if the mouse position is within the Window's Bounds. func (w *Window) MouseInsideWindow() bool { return w.cursorInsideWindow }