Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Phodal
Coca
提交
c620ae21
C
Coca
项目概览
Phodal
/
Coca
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
Coca
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
c620ae21
编写于
12月 25, 2019
作者:
P
Phodal Huang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs: update resources
上级
d94523db
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
46 addition
and
37 deletion
+46
-37
README.md
README.md
+1
-1
docs/images/model.sketch
docs/images/model.sketch
+0
-0
docs/images/model.svg
docs/images/model.svg
+45
-36
未找到文件。
README.md
浏览文件 @
c620ae21
...
...
@@ -352,7 +352,7 @@ export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
clone
```
g
o get
https://github.com/phodal/coca
g
it clone
https://github.com/phodal/coca
```
Test Frameworks
...
...
docs/images/model.sketch
浏览文件 @
c620ae21
无法预览此类型文件
docs/images/model.svg
浏览文件 @
c620ae21
<?xml version="1.0" encoding="UTF-8"?>
<svg
width=
"
835px"
height=
"525px"
viewBox=
"0 0 835
525"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<svg
width=
"
903px"
height=
"525px"
viewBox=
"0 0 903
525"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
>
<!-- Generator: Sketch 60.1 (88133) - https://sketch.com -->
<title>
model
</title>
<desc>
Created with Sketch.
</desc>
...
...
@@ -10,85 +10,94 @@
</linearGradient>
</defs>
<g
id=
"Page-1"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
>
<path
id=
"Line"
d=
"M543,270 L557,277 L543,284 L543,278 L154,278 L154,276 L543,276 L543,270 Z"
fill=
"#979797"
fill-rule=
"nonzero"
></path>
<path
id=
"Line"
d=
"M355,77 L362,91 L356,91 L356,478 L354,478 L354,91 L348,91 L355,77 Z"
fill=
"#979797"
fill-rule=
"nonzero"
></path>
<text
id=
"Circular-References"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#D0021B"
>
<tspan
x=
"577"
y=
"500"
>
Circular References
</tspan>
</text>
<path
id=
"Line"
d=
"M611,270 L625,277 L611,284 L611,278 L222,278 L222,276 L611,276 L611,270 Z"
fill=
"#979797"
fill-rule=
"nonzero"
></path>
<path
id=
"Line"
d=
"M423,77 L430,91 L424,91 L424,478 L422,478 L422,91 L416,91 L423,77 Z"
fill=
"#979797"
fill-rule=
"nonzero"
></path>
<text
id=
"Layered-Refactoring"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"20"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"4
19
"
y=
"105"
>
Layered Refactoring
</tspan>
<tspan
x=
"4
87
"
y=
"105"
>
Layered Refactoring
</tspan>
</text>
<text
id=
"Micro-Refactoring"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"20"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
155
"
y=
"459"
>
Micro Refactoring
</tspan>
<tspan
x=
"
223
"
y=
"459"
>
Micro Refactoring
</tspan>
</text>
<text
id=
"Model-Refactoring"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"20"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
155
"
y=
"105"
>
Model Refactoring
</tspan>
<tspan
x=
"
223
"
y=
"105"
>
Model Refactoring
</tspan>
</text>
<text
id=
"Refactoring-to-Patte"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"20"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"4
11
"
y=
"459"
>
Refactoring to Pattern
</tspan>
<tspan
x=
"4
79
"
y=
"459"
>
Refactoring to Pattern
</tspan>
</text>
<text
id=
"💳💳💳"
font-family=
"AppleColorEmoji, Apple Color Emoji"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
573
"
y=
"284"
>
💳💳💳
</tspan>
<tspan
x=
"
641
"
y=
"284"
>
💳💳💳
</tspan>
</text>
<text
id=
"⭐⭐⭐"
font-family=
"AppleColorEmoji, Apple Color Emoji"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"3
27
"
y=
"67"
>
⭐⭐⭐
</tspan>
<tspan
x=
"3
95
"
y=
"67"
>
⭐⭐⭐
</tspan>
</text>
<text
id=
"Clean-Architecture"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
398
"
y=
"152"
>
Clean Architecture
</tspan>
<tspan
x=
"
466
"
y=
"152"
>
Clean Architecture
</tspan>
</text>
<text
id=
"DDD"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
458"
y=
"208"
>
DDD ...
</tspan>
<tspan
x=
"
526"
y=
"208"
>
DDD
</tspan>
</text>
<text
id=
"DCI"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"5
17
"
y=
"177"
>
DCI
</tspan>
<tspan
x=
"5
85
"
y=
"177"
>
DCI
</tspan>
</text>
<text
id=
"Factory"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"4
11
"
y=
"346"
>
Factory
</tspan>
<tspan
x=
"4
79
"
y=
"346"
>
Factory
</tspan>
</text>
<text
id=
"Strategy"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
442"
y=
"381"
>
Strategy ...
</tspan>
<tspan
x=
"
510"
y=
"381"
>
Strategy
</tspan>
</text>
<text
id=
"Extract-Method"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
193
"
y=
"346"
>
Extract Method
</tspan>
<tspan
x=
"
261
"
y=
"346"
>
Extract Method
</tspan>
</text>
<text
id=
"Parameter-object"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
172
"
y=
"391"
>
Parameter object
</tspan>
<tspan
x=
"
240
"
y=
"391"
>
Parameter object
</tspan>
</text>
<text
id=
"Inline-…"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
172
"
y=
"317"
>
Inline …
</tspan>
<tspan
x=
"
240
"
y=
"317"
>
Inline …
</tspan>
</text>
<text
id=
"Make-Static---Instan"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
133
"
y=
"423"
>
Make Static - Instance Method
</tspan>
<tspan
x=
"
201
"
y=
"423"
>
Make Static - Instance Method
</tspan>
</text>
<text
id=
"Behavior-Driven"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"2
00"
y=
"177"
>
Behavior Driven
</tspan>
<text
id=
"Behavior-Driven
t
"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"2
68"
y=
"177"
>
Behavior Drivent
</tspan>
</text>
<text
id=
"TypeType"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
184"
y=
"208"
>
TypeType ...
</tspan>
<text
id=
"TypeType
t
"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
252"
y=
"208"
>
TypeTypet
</tspan>
</text>
<text
id=
"Parameters"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
172
"
y=
"243"
>
Parameters
</tspan>
<tspan
x=
"
240
"
y=
"243"
>
Parameters
</tspan>
</text>
<text
id=
"Builder"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
384
"
y=
"413"
>
Builder
</tspan>
<tspan
x=
"
452
"
y=
"413"
>
Builder
</tspan>
</text>
<text
id=
"Adapter"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"5
15
"
y=
"338"
>
Adapter
</tspan>
<tspan
x=
"5
83
"
y=
"338"
>
Adapter
</tspan>
</text>
<text
id=
"Observer"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"14"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"488"
y=
"413"
>
Observer
</tspan>
<tspan
x=
"556"
y=
"413"
>
Observer
</tspan>
</text>
<text
id=
"REST-API-Designt"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#D0021B"
>
<tspan
x=
"711"
y=
"32"
>
REST API Designt
</tspan>
</text>
<text
id=
"Big-ball-of-mud"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#D0021B"
>
<tspan
x=
"723"
y=
"67"
>
Big ball of mud
</tspan>
</text>
<text
id=
"
REST-API-Design"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#000000
"
>
<tspan
x=
"
685"
y=
"19"
>
REST API Design
</tspan>
<text
id=
"
God-Services"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#D0021B
"
>
<tspan
x=
"
49"
y=
"19"
>
God Services
</tspan>
</text>
<text
id=
"
God-Services"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#000000
"
>
<tspan
x=
"
0"
y=
"19"
>
God Services
</tspan>
<text
id=
"
Bad-Code-Smell"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#D0021B
"
>
<tspan
x=
"
49"
y=
"519"
>
Bad Code Smell
</tspan>
</text>
<text
id=
"
Bad-Code-Smell
"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
0"
y=
"519"
>
Bad Code Smell
</tspan>
<text
id=
"
by-Exp…
"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#000000"
>
<tspan
x=
"
753"
y=
"519"
>
by Exp…
</tspan>
</text>
<text
id=
"
Entity"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#000000
"
>
<tspan
x=
"
685"
y=
"519"
>
Entity
</tspan>
<text
id=
"
common-common"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#D0021B
"
>
<tspan
x=
"
49"
y=
"282"
>
common common
</tspan>
</text>
<text
id=
"
Utils"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#000000
"
>
<tspan
x=
"
0"
y=
"278"
>
Util
s
</tspan>
<text
id=
"
God-Class"
font-family=
"PingFangSC-Regular, PingFang SC"
font-size=
"18"
font-weight=
"normal"
fill=
"#D0021B
"
>
<tspan
x=
"
381"
y=
"519"
>
God Clas
s
</tspan>
</text>
</g>
</svg>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录