diff --git a/cmii-uav-watchdog-common.iml b/cmii-uav-watchdog-common.iml new file mode 100644 index 0000000..9359aee --- /dev/null +++ b/cmii-uav-watchdog-common.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/cmii-uav-watchdog-common/go.mod b/cmii-uav-watchdog-common/go.mod new file mode 100644 index 0000000..503e87c --- /dev/null +++ b/cmii-uav-watchdog-common/go.mod @@ -0,0 +1,3 @@ +module cmii-uav-watchdog-common + +go 1.24 diff --git a/cmii-uav-watchdog-common/main.go b/cmii-uav-watchdog-common/main.go new file mode 100644 index 0000000..71ae5c9 --- /dev/null +++ b/cmii-uav-watchdog-common/main.go @@ -0,0 +1,21 @@ +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 text + // to see how GoLand suggests fixing the warning.

Alternatively, if available, click the lightbulb to view possible fixes.

+ s := "gopher" + fmt.Println("Hello and welcome, %s!", s) + + for i := 1; i <= 5; i++ { + //TIP

To start your debugging session, right-click your code in the editor and select the Debug option.

We have set one breakpoint + // for you, but you can always add more by pressing .

+ fmt.Println("i =", 100/i) + } +} \ No newline at end of file