slice example

This commit is contained in:
Mert Gör 🇹🇷 2024-01-11 11:51:47 +03:00
parent 5a4fdbe0b9
commit edfcb7425c
Signed by: hwpplayer1
GPG Key ID: 03E547D043AB6C8F

View File

@ -16,4 +16,6 @@ func Demo2() {
fmt.Println(cities_copy)
fmt.Println(cities[1:4])
fmt.Println(cities[1:])
fmt.Println(cities[:2])
}