1
I have a very simple code in GO. Using vs code, when saving the file I’m working on, the editor removes the import "math"
Follows the code
package main
import "math"
func main() {
a := Sqrt(float64(60))
}
When saved the file, the vs code formatter for the language GO is removing the import math, but it is being used (in the Sqrt function).
Why is this happening? It’s a code error or I need to configure something in vs code?