Hacker News new | past | comments | ask | show | jobs | submit login

Doesn’t go template have a way to define functions? You could then use a function to do w/e you like.



That’s what I like about Go. The platform is prescriptive, but in all the right places. For things like this, Go leaves the abstraction building to you, if you need it.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: