You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# message-demo
|
|
|
|
用golang实现读取配置发送消息
|
|
支持自动刷新配置文件
|
|
|
|
# debug
|
|
|
|
> 参考 「 [go build 参数汇总](https://blog.csdn.net/DisMisPres/article/details/115110442) 」
|
|
|
|
- 非 debug 入口文件行首添加 `//go:build !debug`
|
|
- debug 入口文件行首添加 `//go:build debug`
|
|
|
|
```shell
|
|
go build -tags "debug"
|
|
|
|
go run main_debug.go
|
|
``` |