From dfccac1752c4861a8b976440c2f1499556edfee4 Mon Sep 17 00:00:00 2001 From: kacarmichael Date: Mon, 26 May 2025 00:35:49 -0500 Subject: [PATCH] Initial commit --- .gitignore | 1 + go.mod | 1 + main.go | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 go.mod create mode 100644 main.go diff --git a/.gitignore b/.gitignore index 5b90e79..6448881 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ go.work.sum # env file .env +.idea/* \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..23535eb --- /dev/null +++ b/go.mod @@ -0,0 +1 @@ +module HealthCheckAPI diff --git a/main.go b/main.go new file mode 100644 index 0000000..91b22d0 --- /dev/null +++ b/main.go @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" +) + +//TIP To run your code, right-click the code and select Run. Alternatively, click +// the icon in the gutter and select the Run menu item from here. + +func main() { + //TIP Press when your caret is at the underlined or highlighted text + // to see how GoLand suggests fixing it. + s := "gopher" + fmt.Println("Hello and welcome, %s!", s) + + for i := 1; i <= 5; i++ { + //TIP You can try debugging your code. We have set one breakpoint + // for you, but you can always add more by pressing . To start your debugging session, + // right-click your code in the editor and select the Debug option. + fmt.Println("i =", 100/i) + } +} + +//TIP See GoLand help at jetbrains.com/help/go/. +// Also, you can try interactive lessons for GoLand by selecting 'Help | Learn IDE Features' from the main menu. \ No newline at end of file