用golang写了一个12306查询回家时刻的命令行工具。

123GO · 2017-01-19 04:07:32 · 2159 次点击 · 大约8小时之前 开始浏览    置顶
这是一个创建于 2017-01-19 04:07:32 的主题,其中的信息可能已经有所发展或是发生改变。

#项目是纯golang实现的,稍微讲一下步骤

  1. step1:抓取12306的包,分析出需要的数据和接口
  2. step2:数据整理
  3. step3:数据展示

< 祝大家都早日回家过年 with someone you love >

项目地址: https://github.com/JingDa-open-source-community/go-home

#Querys train schedule use the origin command line tools

###output

###dependence ASCLL TABLE Writer it is for generate ascii table on termial and use below command to install

go get  github.com/olekukonko/tablewriter

###How to get started? you should download project to path of yourself and then go build or go install, after that just run it!

go build 
go-home your train number (em: G4474)

###Contact

Wechat: convertxy

QQ: 2698380951

Email: aliasliyu4@gamil.com


有疑问加站长微信联系(非本文作者)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

2159 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传