README ¶ goblock 介绍 使用golang开发时经常会用到的功能模块封装,先满足基本功能需求,然后慢慢完善。 使用说明 daemon 后台守护模式运行 main开头处导入包 import _ "gitee.com/duanhuiling/goblock/daemon" 运行程序时 添加参数 -d=true 即可 log 日志输出模块 按日期每天一个日志文件。 导入包 import "gitee.com/duanhuiling/goblock/log" 输出日志 log.Info("日志信息 %s","goblock") log.Debug("日志信息 %s","goblock") log.Warning("日志信息 %s","goblock") log.Error("日志信息 %s","goblock") Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files goblock.go Directories ¶ Show internal Expand all Path Synopsis daemon log Click to show internal directories. Click to hide internal directories.