Golang html template

76 views
Skip to first unread message

Aman Bhatia

unread,
Jul 26, 2018, 10:05:05 AM7/26/18
to golang-nuts
How can I read data from html template and insert it into another collection of a Mongodb database ? The data is in tabular form on html page and that is also fetched from a collection of database .

Rick Timmis

unread,
Jul 27, 2018, 8:35:57 AM7/27/18
to golang-nuts
The data that you are using to populate the HTML template can also be marshalled into json take the json copy of the data and use that to create a document or key value record in your mongo DB
Reply all
Reply to author
Forward
0 new messages