Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

Arrays in Go

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]