How to pass the value of a JavaScript variable to a golang function using HTML template
I have a GO web application that is using the HTML templating feature. I am attempting to encrypt the user's password before it is submitted in a form. The steps to accomplish this are: Use JavaScript to capture the raw…