Go API Documentation

No package summary is available.

Package


Tests

Files: 23. Third party imports: 0. Imports from organisation: 0. Tests: 0. Benchmarks: 0.

Vars

var inventory_json = map[string]interface{}{
	"inventory": map[string]interface{}{
		"mountain_bikes": []interface{}{
			map[string]interface{}{
				"id":		"bike:1",
				"model":	"Phoebe",
				"description": "This is a mid-travel trail slayer that is a fantastic " +
					"daily driver or one bike quiver. The Shimano Claris 8-speed groupset " +
					"gives plenty of gear range to tackle hills and there\u2019s room for " +
					"mudguards and a rack too.  This is the bike for the rider who wants " +
					"trail manners with low fuss ownership.",
				"price":	1920,
				"specs":	map[string]interface{}{"material": "carbon", "weight": 13.1},
				"colors":	[]interface{}{"black", "silver"},
			},
			map[string]interface{}{
				"id":		"bike:2",
				"model":	"Quaoar",
				"description": "Redesigned for the 2020 model year, this bike " +
					"impressed our testers and is the best all-around trail bike we've " +
					"ever tested. The Shimano gear system effectively does away with an " +
					"external cassette, so is super low maintenance in terms of wear " +
					"and tear. All in all it's an impressive package for the price, " +
					"making it very competitive.",
				"price":	2072,
				"specs":	map[string]interface{}{"material": "aluminium", "weight": 7.9},
				"colors":	[]interface{}{"black", "white"},
			},
			map[string]interface{}{
				"id":		"bike:3",
				"model":	"Weywot",
				"description": "This bike gives kids aged six years and older " +
					"a durable and uberlight mountain bike for their first experience " +
					"on tracks and easy cruising through forests and fields. A set of " +
					"powerful Shimano hydraulic disc brakes provide ample stopping " +
					"ability. If you're after a budget option, this is one of the best " +
					"bikes you could get.",
				"price":	3264,
				"specs":	map[string]interface{}{"material": "alloy", "weight": 13.8},
			},
		},
		"commuter_bikes": []interface{}{
			map[string]interface{}{
				"id":		"bike:4",
				"model":	"Salacia",
				"description": "This bike is a great option for anyone who just " +
					"wants a bike to get about on With a slick-shifting Claris gears " +
					"from Shimano\u2019s, this is a bike which doesn\u2019t break the " +
					"bank and delivers craved performance.  It\u2019s for the rider " +
					"who wants both efficiency and capability.",
				"price":	1475,
				"specs":	map[string]interface{}{"material": "aluminium", "weight": 16.6},
				"colors":	[]interface{}{"black", "silver"},
			},
			map[string]interface{}{
				"id":		"bike:5",
				"model":	"Mimas",
				"description": "A real joy to ride, this bike got very high " +
					"scores in last years Bike of the year report. The carefully " +
					"crafted 50-34 tooth chainset and 11-32 tooth cassette give an " +
					"easy-on-the-legs bottom gear for climbing, and the high-quality " +
					"Vittoria Zaffiro tires give balance and grip.It includes " +
					"a low-step frame , our memory foam seat, bump-resistant shocks and " +
					"conveniently placed thumb throttle. Put it all together and you " +
					"get a bike that helps redefine what can be done for this price.",
				"price":	3941,
				"specs":	map[string]interface{}{"material": "alloy", "weight": 11.6},
			},
		},
	},
}