From 7dfb33a471277b39ea8c4c70e02efed171f6dfcb Mon Sep 17 00:00:00 2001 From: lab Date: Sat, 25 Dec 2021 02:16:59 +0800 Subject: [PATCH] feat: init go mod --- cmd/apiserver/main.go | 11 +++++++++++ go.mod | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 cmd/apiserver/main.go create mode 100644 go.mod diff --git a/cmd/apiserver/main.go b/cmd/apiserver/main.go new file mode 100644 index 0000000..7ee9ff3 --- /dev/null +++ b/cmd/apiserver/main.go @@ -0,0 +1,11 @@ +package main + +func main() { + if err := run(); err != nil { + panic(err) + } +} + +func run() error { + return nil +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..579569d --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.esin.io/kimbon/weapp + +go 1.17