Created
February 21, 2017 08:11
-
-
Save simt2/8f3f59609f8b2d785ee5892143d54415 to your computer and use it in GitHub Desktop.
mesh-go-example templateData
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
// templateData is the struct that we pass to our HTML templates, containing | |
// necessary data to render pages | |
type templateData struct { | |
Breadcrumb []gjson.Result | |
Category *gjson.Result | |
Products *[]gjson.Result | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment