From dfb8285809227374b8c2ad4923b191bcc89d33d3 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 9 Feb 2024 23:09:38 +0000 Subject: [PATCH] style: format code with Gofumpt This commit fixes the style issues introduced in afd1b0d according to the output from Gofumpt. Details: None --- main.go | 2 +- rectangleTool.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 2ef022d..7310461 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ func main() { raylib.SetConfigFlags(raylib.FlagWindowResizable) // | raylib.FlagWindowHighdpi | raylib.FlagMsaa4xHint) raylib.InitWindow(applicationWindowWidth, applicationWindowHeight, applicationTitle) raylib.SetWindowMinSize(int(applicationMinWindowWidth), int(applicationMinWindowHeight)) - //raylib.SetTargetFPS(int32(raylib.GetMonitorRefreshRate(raylib.GetCurrentMonitor()))) + // raylib.SetTargetFPS(int32(raylib.GetMonitorRefreshRate(raylib.GetCurrentMonitor()))) raylib.SetTargetFPS(60) raylib.SetExitKey(raylib.KeyNull) raylib.HideCursor() diff --git a/rectangleTool.go b/rectangleTool.go index 7cf332e..a58d629 100644 --- a/rectangleTool.go +++ b/rectangleTool.go @@ -1,8 +1,9 @@ package main import ( - raylib "github.com/gen2brain/raylib-go/raylib" "math" + + raylib "github.com/gen2brain/raylib-go/raylib" ) type rectangleTool struct {