Skip to content

zhouboyi1998/note-macaron

Repository files navigation

📔 note-macaron

📖 语言

简体中文 | English

⌛ 开始

项目配置

  • 1:配置 Global GOPATH & Project GOPATH
  • 2:配置 Environment
    • GOPROXY=https://goproxy.cn,direct
    • GOFLAGS=-buildvcs=false
    • ENVCONFIG=dev

安装依赖

go mod tidy

运行

go run main.go

编译成可执行文件

go build main.go

🐳 Docker

Go 代码编译成 Linux 可执行文件

set GOOS=linux

set GOARCH=amd64

go build main.go

Docker 构建

docker build -t note-macaron .

Docker 运行

docker run -d -p 18083:18083 --name note-macaron note-macaron

📜 开源协议

MIT License Copyright (c) 2022 周博义

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published