wtorek, 7 czerwca 2016

What about go?

Hi All - what are you thinking about Go language?

syntax looks good, it could be compiled .... hmmm


package main

import "fmt"
func main(){
  var a string = "Marek"
  var b string = "Borkowski"

  var c string = a + " " +b

  s:= fmt.Sprintf("Hi my name is %s and my last name is %s",a,b)
  fmt.Println(s)

  fmt.Println(c)
}

Brak komentarzy:

Prześlij komentarz