Intellisense doesn't trigger in Go.
Posted: Mon May 28, 2012 7:16 pm
The function Sqrt in package math doesn't trigger under the following code:
package main
import (
"fmt"
"math"
)
func main() {
alpha := []int{1, 3, 4}
x := float64(alpha[0]) * math.Sqrt(2.0)
fmt.Printf("%v\n", x)
}
although the code compiles and runs successfully.
package main
import (
"fmt"
"math"
)
func main() {
alpha := []int{1, 3, 4}
x := float64(alpha[0]) * math.Sqrt(2.0)
fmt.Printf("%v\n", x)
}
although the code compiles and runs successfully.