In JavaScript we can import 
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import>
 
JavaScript modules statically and dynamically. How could we import a 
JavaScript module dynamically in Go?

The closest/simplest thing may be to add an HTML script tag into the page 
header programatically (and I'm going to try that) but maybe there is a 
more obvious way that I'm not seeing.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/52d13816-09e5-4e17-941d-af343af0d770n%40googlegroups.com.

Reply via email to