We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
arr := [4]int{1,2,3,4} slice := arr[:] fmt.Println(slice) fmt.Printf("slice = %v\n",slice) str := "hello" fmt.Println(len(str)) numbers := []int{} for i := 0; i < 10; i++ { numbers = append(numbers, i) fmt.Println(numbers) fmt.Printf("len: %d cap: %d pointer: %p\n", len(numbers), cap(numbers), numbers) } fmt.Println(numbers)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: