Skip to content
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

Set proxy in the config #55

Closed
ouuan opened this issue Jan 10, 2020 · 19 comments
Closed

Set proxy in the config #55

ouuan opened this issue Jan 10, 2020 · 19 comments

Comments

@ouuan
Copy link

ouuan commented Jan 10, 2020

Although it's able to use global proxy, it's better to be able to set proxy for cf-tool.

Tribleave added a commit to Tribleave/cf-tool that referenced this issue Feb 27, 2020
@xalanq
Copy link
Owner

xalanq commented Feb 27, 2020

Running on it

@ouuan
Copy link
Author

ouuan commented Feb 27, 2020

image

I can't see this config.

@xalanq
Copy link
Owner

xalanq commented Feb 27, 2020

image

I can't see this config.

Please wait for the next release version~
I'm still fixing other issues.

@ouuan
Copy link
Author

ouuan commented Feb 27, 2020

I built from the HEAD of master. So this will be fixed later?

@xalanq
Copy link
Owner

xalanq commented Feb 27, 2020

The HEAD of master has already contained this feature. Please try again?

@ouuan
Copy link
Author

ouuan commented Feb 27, 2020

The HEAD of master has already contained this feature. Please try again?

I've tried many times.

@xalanq
Copy link
Owner

xalanq commented Feb 27, 2020

The HEAD of master has already contained this feature. Please try again?

I've tried many times.

Maybe you forgot to copy the file to your PATH

@ouuan
Copy link
Author

ouuan commented Feb 27, 2020

Can you see that "Codeforces Tool (cf) v0.8.3"?

@xalanq
Copy link
Owner

xalanq commented Feb 27, 2020

image

@ouuan
Copy link
Author

ouuan commented Feb 27, 2020

Sorry, I was using e3546a6.

image

Just pulled and built, but still the same.

@ouuan
Copy link
Author

ouuan commented Feb 27, 2020

BTW: go version go1.13.7 linux/amd64

@xalanq
Copy link
Owner

xalanq commented Feb 27, 2020

It seems like an impossible problem. I don't know why XD.
You can open the file ./cmd/config.go and see the code of "proxy"

@ouuan
Copy link
Author

ouuan commented Feb 27, 2020

image

image

@xalanq
Copy link
Owner

xalanq commented Feb 27, 2020

See line 20 :D
So I think there were something weird on your computer

@ouuan
Copy link
Author

ouuan commented Feb 27, 2020

Solved.

It's about cache, rm -rf ~/go and download the modules again helps.

@xalanq
Copy link
Owner

xalanq commented Feb 27, 2020

haha. I met this cache bug too. But I solved it by go clean.

@xalanq
Copy link
Owner

xalanq commented Feb 27, 2020

The latest version is unstable. I'm changing a lot of things.

@xalanq
Copy link
Owner

xalanq commented Feb 27, 2020

Maybe I could release a new version tonight.

@ouuan
Copy link
Author

ouuan commented Feb 27, 2020

haha. I met this cache bug too. But I solved it by go clean.

I tried go clean, go clean --cache, go clean -cache -modcache -i -r but none of them worked.

@ouuan ouuan closed this as completed Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants