fake-gcs-server
fake-gcs-server copied to clipboard
WIP: read config from environment variables
This is a first draft of reading configuration from environment variables (#561) . I chose a different approach than #1041, let me know what you think! I've only added support for a single arg for now: backend
using the FAKE_GCS_BACKEND
environment variable. I'll update the PR with the rest of the arguments if you think this is a good way of doing it.
I don't usually write golang, so please be thorough in your feedback :)
Open questions:
- Is this a good approach?
- Should all arguments be supported?
- Do we need more tests?