大家好 我是剛開始學習golang的學生 請問我該如何利用golang實現題目需求 謝謝大家
Your job is to design and create a CLI application that will parser www.alexa.com data. The application signature should look like the following:
$ ./clawer <action> <arg1> [<arg2>...]
The application must be able to accept these actions as param and perform the corresponding tasks:
1. top <number> : show top <number> sites URL on www.alexa.com
2. country <country> : show top 20 sites URL on www.alexa.com by country
e.g.
$ ./clawer top <number>
$ ./clawer country <country>
The application needs to have an extensible interface where adding a new action is just a matter of adding more files and should
not require any modifications to the existing code base.
ps. If anything is unclear, you may set a reasonable assumption and state it at the beginning of the situation.
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/216280.html
標籤:go語言
下一篇:【資料結構——圖的遍歷】
