#Deploy Go App

24 messages · Page 1 of 1 (latest)

teal helmBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

violet jettyBOT
#

Project ID: 5d1b17cf-e522-4dce-9cae-fa3294e75bb3

pure geode
#

5d1b17cf-e522-4dce-9cae-fa3294e75bb3

scarlet walrus
#

remove the build and start commands you have set, and just set the root directory to /src

bright pebble
#

Dang. You beat me to it

#

What Brody said

scarlet walrus
#

I am speed

pure geode
scarlet walrus
#

do you not have a go.mod file in the /src folder?

pure geode
#

yea, i don't have one, its in the root, but i fixed it using go build -o ./build ./src/main.go
and ./build

scarlet walrus
#

that's a very odd directory structure, the go.mod file is usually always in the same folder as your main.go file

#

I say that as a go developer myself

pure geode
#

yeah, im new to this and used to npm way

#

will read something about that

scarlet walrus
#

gotcha

pure geode
#

thanks for your help and time

scarlet walrus
#

I hope you enjoy go! 🙂

pure geode
#

Thanks, so far I'm enjoying it.

scarlet walrus
#

awesome!

pure geode
# scarlet walrus awesome!

btw just deployed my first identity provider with jwts, and fiber(12mb ram) and it works fine, better than nodejs with express (70mb ram)

scarlet walrus
#

not a fan of fiber one single bit

pure geode
scarlet walrus
#

I prefer chi

pure geode