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 f0b1780..717e9c3 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,7 +2,22 @@ package hello import () + +type user struct { + ID int64 + Name string + Addr *address +} + +type address struct { + City string + ZIP int + LatLng [2]float64 +} + +var alex = user{} + // Hello writes a welcome string func Hello() string { - return "Hello golang!" + return "Hello, "+alex.Name }