<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Swaggo on 腾图工作室,威远博客,威远工作室,Ease</title>
    <link>/tags/swaggo/</link>
    <description>Recent content in Swaggo on 腾图工作室,威远博客,威远工作室,Ease</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Wed, 27 Apr 2022 11:09:32 +0000</lastBuildDate>
    <atom:link href="/tags/swaggo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Swagger 自动生成接口文档</title>
      <link>/code/2022/042719-swagger/</link>
      <pubDate>Wed, 27 Apr 2022 11:09:32 +0000</pubDate>
      <guid>/code/2022/042719-swagger/</guid>
      <description>&lt;p&gt;除了它可以自动生成接口文档以外，也可以规范代码。&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/swaggo/swag&#34;&gt;Github: https://github.com/swaggo/swag&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://github.com/swaggo/swag/blob/master/README_zh-CN.md&#34;&gt;中文帮助&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;安装自动生成工具swag： go install github.com/swaggo/swag/cmd/swag@latest&lt;/p&gt;&#xA;&lt;p&gt;自动生成文档： swag init&lt;/p&gt;&#xA;&lt;p&gt;我是使用的gin居多，可以先看看示例 celler。先 swag init 生成，然后go run . ，打开 http://localhost:8080/swagger/index.htm&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
