Toggle navigation
Log in
Sign Up
Log in
Sign Up
Appium
C
C#
C++
Docker
Go
Informatica
Java
JavaScript
Kafka
Numpy
Oracle
Pandas
PHP
Py Spark
Python
R
React Native
Scipy
SFTP
Tableau
Teradata
TGMC
UNIX
Introducing
Radical.sh
Forget Code launches a powerful code generator for building API's
Forget_Code.Models.CategoryViewModel
Add a new snippet
Basic Programs
1
Classes
2
Collections
13
Exception Handling
7
Hello World
1
Math Functions
4
Pointers
2
String Functions
12
Variables
1
Web Application
1
Choose Category
Arrays in Go
Forget Code
Go
Arrays
Arrays can be delcared in go with []data type syntax.
package main import ( "fmt" ) func main() { c := []int{6, 7, 8} fmt.Println(c) }
output: [6 7 8]
Tags for Arrays in Go
DP_Collections
Go
GoLang
Contribute to Forget Code, help others.
Add snippet