Esempio n. 1
0
func dbLookupGame(t *llrb.LLRB, gameid int) *game {

	g := &game{id: gameid}
	result := t.Get(g)
	if result != nil {

		g = result.(*game)
		return g
	}

	return nil
}