Skip to content

Commit

Permalink
Merge pull request #155 from sunmi-OS/feature/imp
Browse files Browse the repository at this point in the history
update docs
  • Loading branch information
luduoxin authored Feb 7, 2024
2 parents 05d79a5 + 1613bd8 commit 17764de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ Using the three-tier architecture (HTTP service: api->biz->dal, RPC service: rpc
- In charge of database access; inter-method calls within this layer are prohibited.
- Prohibited from calling methods from both the API and Biz layers.
目录结构说明:
Directory structure:
```
├── app // Source code
│ ├── api // API layer, Delete this folder if no HTTP service
Expand Down
4 changes: 4 additions & 0 deletions README_ZH_CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<div align="center">

![logo](https://file.cdn.sunmi.com/logo.png?x-oss-process=image/resize,h_200)

</div>

Gocore 框架
---
[English](README.md) | 中文
Expand Down
2 changes: 1 addition & 1 deletion docs/zh-cn/examples/tools/trace.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import (
)

// 如果需要追踪 biz 层链路,需要传递 context
func (m *User) Login(ctx context.Context, username, password string) (token string, err error) {{
func (m *User) Login(ctx context.Context, username, password string) (token string, err error) {
//...

}
Expand Down

0 comments on commit 17764de

Please sign in to comment.