tladesignz / IPtProxy

Obfs4proxy and Snowflake Pluggable Transports for iOS
MIT License
45 stars 11 forks source link

expose obfs4Proxy version to integrating apps #23

Closed bitmold closed 2 years ago

bitmold commented 2 years ago

Would be nice to show in Orbot ~ Snowflake doesn't explicitly define a version in its codebase. I'm not sure if there is a way to reflexively obtain this information from the go module

tladesignz commented 2 years ago

Guess I have to review your pull requests better next time. Did you ever try to compile this?

bitmold commented 2 years ago

Yes... Although i should have recompiled it. I changed it from const var to const because I thought it was more idiomatic go. I guess it wasn't and I was too confident my mistake.

tladesignz commented 2 years ago

This could have never compiled, because Go doesn't export symbols, which don't start with an uppercase letter. Anyway, don't worry. ;-)