-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(jzero): update docs
- Loading branch information
Showing
4 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
title: serverless | ||
icon: catppuccin:serverless | ||
order: 3.5 | ||
--- | ||
|
||
## 新建 core 核心模块 | ||
|
||
```shell | ||
jzero serverless new core --core | ||
cd core | ||
jzero gen | ||
go mod tidy | ||
``` | ||
|
||
## 新建业务模块 | ||
|
||
```shell | ||
cd core | ||
jzero serverless new b1 | ||
cd plugins/b1 | ||
jzero gen | ||
go mod tidy | ||
``` | ||
|
||
## 构建 serverless | ||
|
||
```shell | ||
cd core | ||
jzero serverless build | ||
|
||
go run main.go server | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: 模版 | ||
title: 模版特性 | ||
icon: vscode-icons:folder-type-template | ||
star: true | ||
order: 5.3 | ||
|