Skip to content
/ wg Public

用 Go 写的一个简单的命令行天气小助手

License

Notifications You must be signed in to change notification settings

yangwenmai/wg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wg

Build Status Go Report Card Documentation Coverage Status GitHub issues license Release

用 Go 写的一个简单的命令行天气预报小助手。

Usage

  1. clone 到本地 git clone https://github.com/yangwenmai/wg.git
  2. 当前目录编译 go build -o wg wg.go types.go utils.go
  3. ./wg

或者

go build -o wg wg.go types.go utils.go && ./wg

你也可以直接 go install,将 wg 安装到你的GOBIN目录下,你可以直接在命令行使用 wg 命令。

参考资料

  1. 天气API接口 http://www.sojson.com/api/weather.html

赞助我

微信支付

About

用 Go 写的一个简单的命令行天气小助手

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages