summaryrefslogtreecommitdiff
path: root/test/lsp/go/main.go
blob: 1cf40733a5ec2763d0e206baeb201fb54cbceb68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package main;
import (
	"fmt"
)

type X struct {
	y int
}

/// https://example.com
func main() {
	_, err := fmt.Println("hello world");
	if err != nil {
		return;
	}
	var a X
	println(a.y);
	
}