Is there a way to import go functions?

Is there a way to use a standard go function to use with Hugo ? Or does one need to edit Hugo itself to add the function ?

I’m asking this, because I would need to use the stripTags function from Go.

This would have to be added as a template func – and statically compiled into Hugo.

One could imagine this be done via a plugin – but we are not there, yet.

And the stripTags func in Go is private (starts with lower caps) and cannot be used outside the html package – so even making a template func would be hard.

OK I understand. I suppose I’ll have to figure a way without…