@@ -320,73 +320,12 @@ cookiecutter https://github.com/better-go/cookiecutter-go.git --directory="libra
320
320
- Cache 层: ` app/basic/demo/internal/dao/cache/cache.go `
321
321
322
322
323
- ## Wiki :
323
+ ## User Manual :
324
324
325
- - [x] https://github.com/zeromicro/zeromall /wiki
326
- - [x] 服务详细初始化步骤
325
+ - [x] https://github.com/better-go/cookiecutter-go /wiki/manual
326
+ - [x] 初始化好微服务目录, 如何使用.
327
327
328
328
329
329
## Reference:
330
330
331
- - https://github.com/audreyr/cookiecutter-pypackage
332
- - https://github.com/pydanny/cookiecutter-django
333
- - https://github.com/pydanny/cookiecutter-django/blob/master/cookiecutter.json
334
- - https://github.com/golang-standards/project-layout
335
- - https://github.com/micro/micro
336
- - https://github.com/micro/micro/blob/master/client/cli/new/new.go
337
- - https://github.com/adobe/go-starter
338
- - https://github.com/gatsbyjs/gatsby-starter-default
339
-
340
-
341
-
342
- ### cookiecutter docs:
343
-
344
- - https://github.com/cookiecutter/cookiecutter
345
- - ` 项目脚手架 ` 的脚手架
346
-
347
- > install:
348
-
349
- - https://cookiecutter.readthedocs.io/en/1.7.2/installation.html
350
-
351
- > multi template:
352
-
353
- - https://cookiecutter.readthedocs.io/en/1.7.2/advanced/directories.html
354
- - 支持一个 git 下, 存放多个` 目录创建模板 ` .
355
-
356
- ``` bash
357
-
358
- cookiecutter https://github.com/user/repo-name.git --directory=" directory1-name"
359
-
360
-
361
- ```
362
-
363
- > create a template:
364
-
365
-
366
- - https://cookiecutter.readthedocs.io/en/1.7.2/first_steps.html
367
- - 创建自己的项目目录模板结构
368
-
369
-
370
- ``` bash
371
- # 创建 template 文件夹: 命名格式如下(类似)
372
- mkdir {{cookiecutter.directory_name}}
373
- mkdir {{cookiecutter.repo_name}}
374
-
375
- ```
376
-
377
- - ` cookiecutter.json ` 文件示例格式
378
-
379
-
380
- ``` json
381
- {
382
- "full_name" : " Henry" ,
383
-
384
- "repo_name" : " complexity" ,
385
- "project_short_description" : " Refreshingly simple static site generator." ,
386
- "release_date" : " 2013-07-10" ,
387
- "year" : " 2013" ,
388
- "version" : " 0.1.1"
389
- }
390
-
391
- ```
392
-
331
+ - [x] https://github.com/better-go/cookiecutter-go/wiki/reference
0 commit comments