Last active
October 25, 2017 23:43
-
-
Save epsniff/881dbc616a350f093a1d0da6ee57f8ef to your computer and use it in GitHub Desktop.
Bleve Intro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type City struct { | |
Name string | |
} | |
type User struct { | |
Id string | |
Email string | |
CurrCityName string | |
PastCities []*City | |
} | |
var m1 = &User{ | |
Id: "marty.foobar", | |
Email: "marty.foobar@gmail.com", | |
CurrCityName: "New York", | |
PastCities: []*City{&City{"Hamburg"}, &City{"Paris"}}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment