-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: configure the proxy with environment variables #1514
Conversation
I apologize for the size of this PR -- the bulk of the diff is from all the new tests. The new tests ensure that each flag may be set with a corresponding environment variable. In spite of the line count, the actual change here is quite small. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
See comments on one optional change that could make the test cases easier to read.
} | ||
|
||
// pointer returns a pointer to v | ||
func pointer[T any](v T) *T { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clever!
3cdeae3
to
2eba461
Compare
Fixes #225.