From 7787b335d6643fab6f3b6e32d3e9f43a9fc3c516 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 2 Dec 2024 08:51:45 +1100 Subject: [PATCH] fix newline --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index c9b76ec..2dd7c6d 100644 --- a/main.go +++ b/main.go @@ -328,14 +328,14 @@ func main() { // Load the JSON data from file file, err := os.Open(*inputFile) if err != nil { - fmt.Printf("Failed to open input.json: %v", err) + fmt.Printf("Failed to open input.json: %v\n", err) os.Exit(1) } defer file.Close() byteValue, err := io.ReadAll(file) if err != nil { - fmt.Printf("Failed to read input json: %v", err) + fmt.Printf("Failed to read input json: %v\n", err) os.Exit(1) }