diff --git a/.gitignore b/.gitignore index aaadf73..77f9775 100644 --- a/.gitignore +++ b/.gitignore @@ -18,7 +18,7 @@ coverage.* profile.cov # Dependency directories (remove the comment below to include it) -# vendor/ +vendor/ # Go workspace file go.work @@ -28,5 +28,5 @@ go.work.sum .env # Editor/IDE -# .idea/ -# .vscode/ +.idea/ +.vscode/ diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..869bf76 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/tiennm99/time-changer + +go 1.25 + +require fyne.io/fyne/v2 v2.7.2 // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..65d767f --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +fyne.io/fyne/v2 v2.7.2 h1:XiNpWkn0PzX43ZCjbb0QYGg1RCxVbugwfVgikWZBCMw= +fyne.io/fyne/v2 v2.7.2/go.mod h1:PXbqY3mQmJV3J1NRUR2VbVgUUx3vgvhuFJxyjRK/4Ug= diff --git a/main.go b/main.go new file mode 100644 index 0000000..ce770b6 --- /dev/null +++ b/main.go @@ -0,0 +1,20 @@ +package main + +import ( + "fmt" +) + +//TIP
To run your code, right-click the code and select Run.
Alternatively, click
+// the
Press
Alternatively, if available, click the lightbulb to view possible fixes.
+ s := "gopher" + fmt.Printf("Hello and welcome, %s!\n", s) + + for i := 1; i <= 5; i++ { + //TIPTo start your debugging session, right-click your code in the editor and select the Debug option.
We have set one