File uploads in go ~ railway volumes
I'm curious to do file uploads to Railway with golang, how do I access the volume from my Go program?
Solution:Jump to solution
there is a
RAILWAY_VOLUME_MOUNT_PATH
environment variable automatically injected7 Replies
Project ID:
d1c85c02-8ca5-43c3-adc6-4a24cb066e33
d1c85c02-8ca5-43c3-adc6-4a24cb066e33
from the mount point 🙂
Solution
there is a
RAILWAY_VOLUME_MOUNT_PATH
environment variable automatically injectedright ok, so RAILWAY_VOLUME_MOUNT_PATH will be some path accessible for file IO ?
indeed
perfect