示例#1
0
func getProducts() (ret []map[string]string) {
	/*
	    ret = []map[string]string{ {
		"url":	"/product/1",
		"title":"Steaming Pile #1",
		"img":	"http://example.us/pile-shit.jpg",
	    }, {
		"url": "/product/2",
		"title":"Steaming Pile #2",
		"img":	"http://example.us/pile-shit.jpg",
	    }, {
		"url": "/product/4",
		"title":"Lookin' Good Template",
		"img":	"http://nerdland.info/template.png",
	    }, {
		"url": "/product/3",
		"title":"Steaming Pile #3",
		"img":	"http://example.us/pile-shit.jpg",
		},
	    }
	*/

	return trans.NpToAmazon()
}
示例#2
0
func main() {
	trans.NpToAmazon()
}