Skip to content

Commit

Permalink
fix: README_zh-CN.md translate bug (#1202)
Browse files Browse the repository at this point in the history
Co-authored-by: victorwwang <[email protected]>
  • Loading branch information
wangwang4git and victorwwang authored May 16, 2022
1 parent c7cb3fd commit 3cedab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ $ go install github.com/swaggo/swag/cmd/swag@latest
swag init
```

确保导入了生成的`docs/docs.go`文件,这样特定的配置文件才会被初始化。如果通用API指数没有写在`main.go`中,可以使用`-g`标识符来告知swag。
确保导入了生成的`docs/docs.go`文件,这样特定的配置文件才会被初始化。如果通用API注释没有写在`main.go`中,可以使用`-g`标识符来告知swag。

```bash
swag init -g http/api.go
Expand Down

0 comments on commit 3cedab9

Please sign in to comment.