github.com/brownsys/tracing-framework-go@v0.0.0-20161210174012-0542a62412fe/go/darwin_amd64/misc/tour/content/flowcontrol/exercise-loops-and-functions.go (about)

     1  // +build no-build OMIT
     2  
     3  package main
     4  
     5  import (
     6  	"fmt"
     7  )
     8  
     9  func Sqrt(x float64) float64 {
    10  }
    11  
    12  func main() {
    13  	fmt.Println(Sqrt(2))
    14  }