New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Chinese translation of readme #695
Comments
那怎么切换呢 |
新增一个中文翻译的readme文档,在原readme文档中增加一个链接,同样在中文版中增加英文原版的链接。 向下面这个样子。 swag中文翻译。 Swag converts Go annotations to Swagger Documentation 2.0. We've created a variety of plugins for popular Go web frameworks. This allows you to quickly integrate with an existing Go project (using Swagger UI). |
PR is welcome |
promacanthus
added a commit
to promacanthus/swag
that referenced
this issue
May 9, 2020
promacanthus
added a commit
to promacanthus/swag
that referenced
this issue
May 9, 2020
sdghchj
added a commit
that referenced
this issue
May 9, 2020
Add Chinese translation of readme #695
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add Chinese translation of readme, As follows.
快速开始
从源码开始构建的话,需要有Go环境(1.9及以上版本)。
或者从github的release页面下载预编译好的二进制文件。
main.go
文件的项目根目录运行swag init
。这将会解析注释并生成需要的文件(docs
文件夹和docs/docs.go
)。确保导入了生成的
docs/docs.go
文件,这样特定的配置文件才会被初始化。如果通用API指数没有写在main.go
中,可以使用-g
标识符来告知swag。The text was updated successfully, but these errors were encountered: