blog/demo/readme.md

17 lines
229 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# demo
这是一个由go语言编写的基本http服务用于各种测试。
## 编译
```bash
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main main.go
```
## 打包
```bash
docker build -t demo:1.0 .
```