AndreasAugustin / go-gitmoji-cli

:octocat: A conventional gitmoji commit interactive command line tool for using emojis on conventional commits. :rocket:
https://gitmoji.dev/
MIT License
8 stars 0 forks source link

[Feat]: add the possibility to use an proxy for the single http query #65

Closed AndreasAugustin closed 1 year ago

AndreasAugustin commented 1 year ago

Describe the feature

There is one query done to the gitmoji api. Would be nice to be able to use a proxy.

Use Case

When people are behind a corp firewall it might be needed to use a proxy

Proposed Solution

add possibility to use a proxy from env variables. https://pkg.go.dev/net/http#ProxyFromEnvironment

Acknowledgements

AndreasAugustin commented 1 year ago

possibility was laready given because net/http golang package is already supporting http proxy env variables. But there was a bug and the documentation was also missing.