Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zendata
提交
babe2895
Z
zendata
项目概览
易企天创
/
zendata
大约 1 年 前同步成功
通知
17
Star
2
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zendata
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
babe2895
编写于
3月 12, 2021
作者:
陈
陈琦
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add sample of apache access logs
上级
d00ac698
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
7 addition
and
7 deletion
+7
-7
.zd.conf
.zd.conf
+1
-1
Makefile
Makefile
+4
-4
demo/default.yaml
demo/default.yaml
+1
-1
src/zd.go
src/zd.go
+1
-1
未找到文件。
.zd.conf
浏览文件 @
babe2895
Version
=
1
.
8
Version
=
1
.
8
Language
=
zh
Makefile
浏览文件 @
babe2895
...
...
@@ -14,10 +14,10 @@ BIN_MAC=${BIN_OUT}mac/${BINARY}/
default
:
update_version_in_config gen_version_file compile_ui prepare_res compile_all copy_files package
win64
:
update_version_in_config gen_version_file
compile_ui
prepare_res compile_win64 copy_files package
win32
:
update_version_in_config gen_version_file
compile_ui
prepare_res compile_win32 copy_files package
linux
:
update_version_in_config gen_version_file
compile_ui
prepare_res compile_linux copy_files package
mac
:
update_version_in_config gen_version_file
compile_ui
prepare_res compile_mac copy_files package
win64
:
update_version_in_config gen_version_file prepare_res compile_win64 copy_files package
win32
:
update_version_in_config gen_version_file prepare_res compile_win32 copy_files package
linux
:
update_version_in_config gen_version_file prepare_res compile_linux copy_files package
mac
:
update_version_in_config gen_version_file prepare_res compile_mac copy_files package
upload
:
upload_to
prepare_res
:
...
...
demo/default.yaml
浏览文件 @
babe2895
...
...
@@ -104,7 +104,7 @@ fields:
postfix
:
"
\t
"
-
field
:
field_yaml
# 引用其他的定义文件整体内容。
range
:
01_range.yaml{3}
# 相对当前文件路径
,注意此处{3}为取5条记录,非重复语法
。
range
:
01_range.yaml{3}
# 相对当前文件路径。
postfix
:
"
\t
"
-
field
:
field_use_config
# 引用其他的config定义文件。
...
...
src/zd.go
浏览文件 @
babe2895
...
...
@@ -258,7 +258,7 @@ func toGen() {
if
vari
.
Verbose
{
logUtils
.
PrintTo
(
fmt
.
Sprintf
(
"End at %s"
,
tmEnd
.
Format
(
"2006-01-02 15:04:05"
)))
dur
:=
tm
Start
.
Unix
()
-
tmEnd
.
Unix
()
dur
:=
tm
End
.
Unix
()
-
tmStart
.
Unix
()
logUtils
.
PrintTo
(
fmt
.
Sprintf
(
"Duriation %d"
,
dur
))
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录