fake-gcs-server icon indicating copy to clipboard operation
fake-gcs-server copied to clipboard

WIP: read config from environment variables

Open vichle opened this issue 9 months ago • 3 comments

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?

vichle avatar May 13 '24 20:05 vichle