mirror of
https://codeberg.org/andyscott/weather-cli.git
synced 2024-11-09 06:00:52 -05:00
Added basic directories and a simple main.go
This commit is contained in:
parent
c97ef988be
commit
089c69c642
2 changed files with 14 additions and 0 deletions
11
cmd/service/main.go
Normal file
11
cmd/service/main.go
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import "flag"
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
|
||||||
|
var mode string
|
||||||
|
flag.StringVar(&mode, "mode", "client", "Specify \"client\" or \"server\" mode")
|
||||||
|
flag.Parse()
|
||||||
|
|
||||||
|
}
|
3
go.mod
Normal file
3
go.mod
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module codeberg.org/andcscott/OpenWeatherMap-gRPC-API
|
||||||
|
|
||||||
|
go 1.18
|
Loading…
Reference in a new issue