glotchimo
glotchimo
RRailway
Created by glotchimo on 6/6/2023 in #✋|help
How does the JSON config format get exposed to a program?
I have a Go program that, before trying out Railway, would read in a .yaml file and parse that into a config structure. I'd prefer to not rework that setup to support environment variables, and I see that one can supply a JSON object instead. How does that get loaded? Does it get passed in as a string in an environment variable, or as a file with a certain name, or something like that?
9 replies