blob: f347d24b965c61b9ec895f747c03dfd1e6eb100f [file] [log] [blame]
package main
import (
"fmt"
)
// L
var Language = "english" // should not invoke completion since this is line comment
// G
const GreetingText = "Hello"
// S
func SayHello() {
fmt.Println("Says hello!")
}
// HelloParams
type HelloParams struct {
language string
}
type Vertex struct {
X, Y float64
}
// A
func (v Vertex) Abs() float64 {
return (v.X*v.X + v.Y*v.Y)
}