演示视频:
- 定时获取数据库内容
使用 LICHEE 需要先创建一个 config.json
的配置文件,在配置文件中添加中添加对应的配置信息
{
"local_port": 10066
}local_port提供服务的端口号
path/filepathabsjoinext
utilsprintpanictoStringtoBase64md5sha1arrayToMap
typesnewIntintValuenewBoolboolValuenewStringstringValuemakeByteSlicetesterrretUndefinedretNull
timesleepnowStringnowDatenowYearnowMonthnowDaynowHournowMinutenowSecond
osO_CREATEO_WRONLYO_RDONLYO_RDWRO_APPENDO_EXCLO_SYNCO_TRUNCargstempDirhostnamegetEnvremoveremoveAllmkdirmkdirAllgetwdchdiropenFilecreateopenstat
inicreategetStrgetIntgetBoolgetSectionsetStrsetIntsetBoolsave
fmtsprintfprintfprintlnprint
filewriteread
errornew
db/localqueryexecbegincommitrollbackexecquery
os/execcommand



