A guide to Golang e-commerce is a 2 years old article with instructions about setting up an e-shop with Go tools, that hasn’t been posted in this forum as far as I know.
The workflow consists of:
- Using Ponzu CMS to manage the product backend and generate a JSON API
- Using a simple Go package to split the JSON into Markdown pages for each product from within a Hugo project.
- Integrating Snipcart in Hugo to deliver the front-end shopping layer.
I am currently experimenting with this workflow and the only drawback so far, is that Ponzu’s interface is kind of ‘meh’.
However I am really happy because this is the most straightforward workflow -so far- that does not depend on npm or PHP.
P.S. I kind of hope that Hugo will get some form of internal method to generate pages from data -so that step 2 above can be skipped-, but at the moment the scope of the related issues #5074 and #6310 seems like a quest to solve The Final Problem…