3 ms·
If I may ask, how do you handle the use of other languages within a project that uses Go? I am new to Go, so it might be a silly question. I currently have a p
by imjasonmiller 8y ago
If I may ask, how do you handle the use of other languages within a project that uses Go? I am new to Go, so it might be a silly question.
I currently have a project that uses Node and React for the front-end and Go for streaming and scraping large .xml + .json data due to its great standard library.
With Node I can start a project wherever I would like — e.g. D:/work/node_project. Go seems to be much more opinionated on that? I opted to follow Go’s preferred directory structure and include npm related packages there, but feel I am not following best practices. Ideally, I would like to have one directory for my projects.
I will take a good look at vgo this afternoon. It removing the need for GOPATH sounds interesting. Thank you.
- nzoschke 8y agoI make the go server/package the repo and add a web/ subdirectory for my static and dynamic JavaScript code, plus a little bit of Makefile glue. Here is a boilerplate Go Lambda app with a Node Lambda function and a static Vue app: https://github.com/nzoschke/gofaas https://github.com/nzoschke/gofaas