Basic for loop in Go

package main

import (  
    "fmt"
)

func main() {  
    for i := 1; i <= 5; i++ {
        fmt.Printf(" %d",i)
    }
}


output: 1 2 3 4 5