my/go
2026-06-04 21:52:34 +03:00
..
output added: new file go/l10.go and its binary version go/output/l10 for counting vowels in the first phrase and outputting the first and second phrases 2026-06-04 21:52:34 +03:00
.gitignore new file go/l7.go , update file go/.gitignore , new README.md in go folder 2026-06-03 15:21:52 +03:00
go.sum add new file go/l5.go for work env file 2026-06-03 06:39:00 +03:00
l1.go edit l1.go 2026-06-01 00:51:59 +03:00
l2.go add new go file go/l2.go for one math operation 2026-06-01 00:36:16 +03:00
l3.go add new file go/l3.go and binary file go/output/l3 for easy question 2026-06-01 04:21:38 +03:00
l4.go new go file go/l4.go for request your name and age, print output of this data 2026-06-03 03:53:14 +03:00
l5.go add new file go/l6.go for detection sergay in your name 2026-06-03 12:34:12 +03:00
l6.go add new file go/l6.go for detection sergay in your name 2026-06-03 12:34:12 +03:00
l7.go new file go/l7.go , update file go/.gitignore , new README.md in go folder 2026-06-03 15:21:52 +03:00
l8.go update README.md, new file go/l8.go and binary go/output/l(7/8), l8.go for bubble sort numbers 2026-06-03 17:37:33 +03:00
l9.go new file go/l9.go for counting the word go 2026-06-04 16:16:58 +03:00
l10.go added: new file go/l10.go and its binary version go/output/l10 for counting vowels in the first phrase and outputting the first and second phrases 2026-06-04 21:52:34 +03:00
README.md added: new file go/l10.go and its binary version go/output/l10 for counting vowels in the first phrase and outputting the first and second phrases 2026-06-04 21:52:34 +03:00

strings: .ToLower(x) - для одного нижнего регистра .HasSuffix(x, "aaa") - для проверки оканчивается ли x на ааа(true/false) .HasPrefix(x, "aaa") - для проверки начинается ли x на aaa(true/false) .Contains(x, "aaa") - для проверки существует ли вообще aaa в x(true/false) .ContainsAny(x, "abc") - для проверки есть ли в x буквы a b c(true/false) .Count(x, "aaa") - для продсчета сколько в x aaa .EqualFold(x, x2) - сравнивает переменные без учета их регистра slice: x := []int{} - создание среза x := make([]int, a, b) - создание среза с параметром, a - длинна, b - емкость x = append(x, a) - для добавления элемента в срез element := x[index] - для доступа к конкретному элементу, index начинается с 0 x[index] = element - для изменения элемента среза x = append(x[:index], x[index2]...) - для удаления элемента среза lenx = len(x) = для подсчета позиций в срезе