Site updated: 2022-11-03 11:35:22

This commit is contained in:
qinglong
2022-11-03 11:35:23 +08:00
parent 77f0d7f89b
commit ca1396ab27
104 changed files with 159 additions and 183 deletions

View File

@@ -6,6 +6,18 @@
"description": "天生我材必有用",
"home_page_url": "https://blog.jingxiyuan.cn",
"items": [
{
"id": "https://blog.jingxiyuan.cn/2022/11/03/%E4%B8%8A%E7%8F%AD%E4%BA%86/",
"url": "https://blog.jingxiyuan.cn/2022/11/03/%E4%B8%8A%E7%8F%AD%E4%BA%86/",
"title": "上班了",
"date_published": "2022-11-03T03:25:00.000Z",
"content_html": "<ul>\n<li>终于又上班了。O (∩_∩) O~</li>\n</ul>\n",
"tags": [
"生活",
"心情",
"心情"
]
},
{
"id": "https://blog.jingxiyuan.cn/2022/11/02/2-dev-null%E5%92%8C-dev-null-2-1%E5%92%8C2-1-dev-null%E7%9A%84%E5%8C%BA%E5%88%AB/",
"url": "https://blog.jingxiyuan.cn/2022/11/02/2-dev-null%E5%92%8C-dev-null-2-1%E5%92%8C2-1-dev-null%E7%9A%84%E5%8C%BA%E5%88%AB/",
@@ -228,8 +240,8 @@
"tags": [
"生活",
"心情",
"郁闷",
"心情"
"心情",
"郁闷"
]
},
{
@@ -274,19 +286,6 @@
"经验分享",
"nginx"
]
},
{
"id": "https://blog.jingxiyuan.cn/2022/09/22/protobuf%E7%94%9F%E6%88%90js%E6%96%87%E4%BB%B6/",
"url": "https://blog.jingxiyuan.cn/2022/09/22/protobuf%E7%94%9F%E6%88%90js%E6%96%87%E4%BB%B6/",
"title": "protobuf生成js文件",
"date_published": "2022-09-22T02:30:00.000Z",
"content_html": "<h1 id=\"下载工具\"><a class=\"anchor\" href=\"#下载工具\">#</a> 下载工具</h1>\n<p><span class=\"exturl\" data-url=\"aHR0cHM6Ly92ZXJzYXdlYi5kbC5zb3VyY2Vmb3JnZS5uZXQvcHJvamVjdC9wcm90b2NvbC1idWZmZXJzLm1pcnJvci92My4xOS41L3Byb3RvYy0zLjE5LjUtd2luNjQuemlw\">protoc-3.19.5-win64.zip</span></p>\n<h1 id=\"生成js文件\"><a class=\"anchor\" href=\"#生成js文件\">#</a> 生成 js 文件</h1>\n<ol>\n<li>\n<p>把 xxx.proto 文件拷贝到解压的 protoc-3.19.5-win64\\bin 目录下</p>\n</li>\n<li>\n<p>cmd 到相同的 bin 目录下</p>\n</li>\n<li>\n<p>执行 protoc.exe --js_out=import_style=commonjs,binary:. ./xxx.proto 命令,就会在 bin 目录下生成 xxx_pb.js 文件</p>\n</li>\n</ol>\n",
"tags": [
"工具",
"经验分享",
"protobuf",
"js"
]
}
]
}