Skip to content

๐Ÿ’Š weather command-line programs written in Golang.

License

Notifications You must be signed in to change notification settings

hellokaton/weather-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

weather-cli

A simple weather forecasting command line tool by go.

@biezhi on zhihu

Usage

Native

go build -o weather-cli utils.go types.go main.go && ./weather-cli

Use Lib

go build -o weather-cli utils.go types.go cli_main.go && ./weather-cli

Package

go build -ldflags "-s -w" -o weather-cli utils.go types.go cli_main.go && upx ./weather-cli

Linux Arch

GOOS=linux GOARCH=amd64 go build ...

Windows Arch

GOOS=windows GOARCH=amd64 go build ...

MacOSX Arch

GOOS=darwin GOARCH=amd64 go build ...

Compression

go build -ldflags "-s -w" -o weather-cli utils.go types.go cli_main.go && upx ./weather-cli

About

๐Ÿ’Š weather command-line programs written in Golang.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages