diff --git a/src/github.com/microsoft/vscode-remote-try-go/hello/hello.go b/src/github.com/microsoft/vscode-remote-try-go/hello/hello.go index 717e9c3..323b848 100644 --- a/src/github.com/microsoft/vscode-remote-try-go/hello/hello.go +++ b/src/github.com/microsoft/vscode-remote-try-go/hello/hello.go @@ -2,22 +2,23 @@ package hello import () - -type user struct { +// User user type +type User struct { ID int64 Name string - Addr *address + Addr *Address } -type address struct { +// Address address type +type Address struct { City string ZIP int LatLng [2]float64 } -var alex = user{} +var alex = User{} // Hello writes a welcome string func Hello() string { - return "Hello, "+alex.Name + return "Hello, " + alex.Name }