TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Go Template Preview – Powered by WebAssembly

102 pointsby ricardbejaranoalmost 3 years ago

7 comments

tekronisalmost 3 years ago
Thanks for making this. Maybe add an option that also exposes additional template functions from sprig: <a href="https:&#x2F;&#x2F;github.com&#x2F;Masterminds&#x2F;sprig" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Masterminds&#x2F;sprig</a>
SergeAxalmost 3 years ago
Great project, well-bounded and insightful! Do you think about making it open source? I was thinking about trying to use another JSON library and make it work with tinygo, but don&#x27;t want to repeat the work.
seanwilsonalmost 3 years ago
This is cool! Do you think you could get Hugo to run in the browser this way so you could show live-previews in the browser without having to run Hugo locally?
评论 #31716698 未加载
joeblubaughalmost 3 years ago
Does it handle defining functions? I can’t get them to work.
评论 #31714098 未加载
randomguy011almost 3 years ago
Hi @ricardbejarano<p>First of all, I really interested with this project and I see there is a room for improvement, mind to open source the code?<p>thanks randomguy011
cyberpunkalmost 3 years ago
This is awesome. Cheers!
boramalperalmost 3 years ago
Interesting that it&#x27;s easier to run Go in browser using WebAssembly than to write a templating engine that uses Go&#x27;s syntax in JS from scratch. :)
评论 #31715564 未加载
评论 #31715707 未加载