This commit is contained in:
2026-02-02 03:51:09 +03:00
commit 4879253847
3 changed files with 28 additions and 0 deletions

16
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,16 @@
{
// Используйте IntelliSense, чтобы узнать о возможных атрибутах.
// Наведите указатель мыши, чтобы просмотреть описания существующих атрибутов.
// Для получения дополнительной информации посетите: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Package",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/app/main.go"
}
]
}

9
cmd/app/main.go Normal file
View File

@ -0,0 +1,9 @@
package main
import "fmt"
func main() {
fmt.Println("Hello world")
c := fmt.Sprintf("Test text: %s", "formatted")
fmt.Printf("Some text: %s", c)
}

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module learn
go 1.25.4