As the title here is my current structure for Go app that serves static http page and also sends data through websocket.
In the structure below I have 2 packages constants and main and am unable to use constants from main package.
Server-Client Game
assets
css
index.css
js
app.js
templates
index.html
constants
server.go
game.go
main
main.go
hub.go
player.go
Should I be using Go workspace? or can I get it working as is?
My project currently is not in the GoPath src which I was previously calling 'workspace'.