Simplify folder structure

This commit is contained in:
Alexander Krieg
2019-06-15 13:38:07 +00:00
parent ded18bad50
commit b6cda78c17
2 changed files with 1 additions and 1 deletions

24
src/hello/hello.go Normal file
View File

@@ -0,0 +1,24 @@
package hello
import ()
// User user type
type User struct {
ID int64
Name string
Addr *Address
}
// Address address type
type Address struct {
City string
ZIP int
LatLng [2]float64
}
var alex = User{}
// Hello writes a welcome string
func Hello() string {
return "Hello, " + alex.Name
}