code: func GetFloat(n ast.Node) (float64, error) {
  	if node, ok := n.(*ast.BasicLit); ok && node.Kind == token.FLOAT {
  		return strconv.ParseFloat(node.Value, 64)
  	}
  	return 0.0, fmt.Errorf("Unexpected AST node type: %T", n)
  }
docs: // GetFloat will read and return a float value from an ast.BasicLit