j178 / leetgo

Best LeetCode friend for geek. :snowboarder:
MIT License
540 stars 32 forks source link

feat: support `leetgo open` #115

Closed forestmgy closed 1 year ago

forestmgy commented 1 year ago

About

This PR is to support leetgo open feature. Closes #113 Tested on Windows/amd64.

How it works

I borrowed the implementation from pick, in which the ParseQID function has processed the parameters after open. It only needs to determine whether it is a contest based on the number of questions we get and open the corresponding page.

Demo video here

https://user-images.githubusercontent.com/101162387/219935470-c2391514-40ab-4c28-a9d4-228abe9c62ca.mp4

j178 commented 1 year ago

Thank you for your PR, it looks great! I just have a couple of minor comments. Also, you still need to use golanglint-ci run --fix to fix some lint issues.

forestmgy commented 1 year ago

Updated. Thanks for your review. Glad to contribute to this great project! : )