{"id":157744,"date":"2020-09-13T00:46:49","date_gmt":"2020-09-12T16:46:49","guid":{"rendered":"http:\/\/4563.org\/?p=157744"},"modified":"2020-09-13T00:46:49","modified_gmt":"2020-09-12T16:46:49","slug":"go-sword-%e4%b8%80%e9%94%ae%e7%94%9f%e6%88%90-mysql-%e7%9a%84-crud-%e7%ae%a1%e7%90%86%e5%90%8e%e5%8f%b0%e7%95%8c%e9%9d%a2-%e7%a6%8f%e5%88%a9-2","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=157744","title":{"rendered":"go-sword \u4e00\u952e\u751f\u6210 MySQL \u7684 CRUD \u7ba1\u7406\u540e\u53f0\u754c\u9762 [\u798f\u5229]"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  go-sword \u4e00\u952e\u751f\u6210 MySQL \u7684 CRUD \u7ba1\u7406\u540e\u53f0\u754c\u9762 [\u798f\u5229]               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sunshinev <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/09\/20200921_5f68aec16762e.jpg\" alt=\"go-sword \u4e00\u952e\u751f\u6210 MySQL \u7684 CRUD \u7ba1\u7406\u540e\u53f0\u754c\u9762 [\u798f\u5229]\" \/><\/p>\n<p>\u70b9\u6211-&gt; https:\/\/sunshinev.github.io\/go-sword-home\/<\/p>\n<p>\u5979\u80fd\u6ee1\u8db3\u4f60\u54ea\u4e9b\uff1f<\/p>\n<pre><code>\u4f60\u6709\u4ee3\u7801\u6d01\u7656\uff0c\u4e0d\u5e0c\u671b\u5de5\u5177\u8fc7\u591a\u5e72\u6270\u4f60\u7684\u4e1a\u52a1\u903b\u8f91 \u4f60\u5e0c\u671b\u751f\u6210\u7684\u9875\u9762\u53ef\u4ee5\u81ea\u5b9a\u4e49\u4fee\u6539\uff0c\u6765\u5b9e\u73b0\u66f4\u591a\u7684\u529f\u80fd \u4f60\u5e0c\u671b\u4ee3\u7801\u7279\u522b\u7b80\u5355\u6613\u8bfb\uff0c\u4e14\u5bb9\u6613\u81ea\u5b9a\u4e49 \u4f60\u5e0c\u671b\u80fd\u5feb\u901f\u6784\u5efa\u7ba1\u7406\u540e\u53f0\uff0c\u54ea\u6015\u4ec5\u4ec5\u662f\u5c06\u6570\u636e\u5e93\u91cc\u7684\u6570\u636e\u53ef\u89c6\u5316 \u4f60\u5e0c\u671b\u4e00\u952e\u751f\u6210 CRUD\uff0c\u65e0\u9700\u590d\u6742\u64cd\u4f5c \u4f60\u5e0c\u671b\u4f7f\u7528 iView \u7684\u7ec4\u4ef6\uff0c\u5feb\u901f\u6784\u5efa\u9875\u9762 \u90a3\u4e48 go-sword \u53ef\u4ee5\u6ee1\u8db3\u4f60 <\/code><\/pre>\n<p>\u6839\u636e MySQL \u7684\u8868\u7ed3\u6784\uff0c\u521b\u5efa\u5b8c\u6574\u7684\u7ba1\u7406\u540e\u53f0\u754c\u9762\uff0c\u5f00\u53d1\u8005\u65e0\u9700\u518d\u91cd\u590d\u624b\u52a8\u7684\u521b\u5efa\u5177\u6709 CRUD \u80fd\u529b\u7684\u9875\u9762 \u53ea\u9700\u8981\u70b9\u51fb\u6309\u94ae\u5373\u53ef\u751f\u6210\u5b8c\u6574\u7684\u7ba1\u7406\u540e\u53f0<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>10<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3369684\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Resource <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             App Demo \u9875\u9762\u70b9\u4e00\u4e0b\u95ea\u4e00\u4e0b\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3369685\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pythonee <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u662f django\/rails \u6837\u7684\u601d\u8def\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3369686\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : NCry <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5de6\u8fb9\u5bfc\u822a\u9ad8\u4eae\u5230 tool \u4e86\uff0c\u4f46\u662f\u53f3\u8fb9\u754c\u9762\u8fd8\u662f categories \u7684 list\uff0c\u8fd9\u662f bug \u5427\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3369687\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sunshinev <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Resource \u6211\u8fd9\u91cc\u7528 chrome \u6d4f\u89c8\u5668\u8bbf\u95ee\u6b63\u5e38\u7684\uff0c\u4f60\u7528\u7684\u6d4f\u89c8\u5668\u662f\u4ec0\u4e48                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3369688\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sunshinev <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @NCry \u8f9b\u82e6\u622a\u56fe\u770b\u4e0b\uff0c\u53d1\u4e2a\u56fe\u7247\u94fe\u63a5\u5565\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3369689\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sunshinev <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @pythonee \u6ca1\u600e\u4e48\u7528\u8fc7 python\uff0c\u5176\u5b9e\u8fd9\u672c\u8d28\u662f\u4e2a\u4ee3\u7801\u751f\u6210\u5de5\u5177                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3369690\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : NCry <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sunshinev \u6211\u7528\u7684 Edge \u8bbf\u95ee\u7684\uff0c\u5177\u4f53\u590d\u73b0\u65b9\u6cd5\u662f\u70b9\u5de6\u4fa7\u5bfc\u822a\u7684 test \u7136\u540e\u754c\u9762\u4e00\u76f4\u663e\u793a\u5728\u52a0\u8f7d\uff0c\u7136\u540e\u70b9\u6d4f\u89c8\u5668\u7684\u8fd4\u56de\uff0c\u8fd9\u4e2a\u65f6\u5019\u56de\u5230\u4e86 categories \u754c\u9762\uff0c\u7136\u540e\u518d\u70b9\u51fb\u5de6\u4fa7\u7684\u5bfc\u822a\u6761\u4e0a\u522b\u7684\u6309\u94ae\uff0c\u4e0d\u7ba1\u70b9\u54ea\u4e2a\u90fd\u4e0d\u4f1a\u518d\u52a0\u8f7d\u4e86\uff0c\u5012\u662f\u9ad8\u4eae\u72b6\u6001\u90fd\u751f\u6548\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3369691\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Resource <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sunshinev #4 chrome\uff0c\u8def\u7531\u5207\u6362\u7684\u65f6\u5019\u4f1a\u95ea                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3369692\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sunshinev <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @NCry \u70b9\u51fb test \u4e00\u76f4\u662f\u52a0\u8f7d\uff0c\u662f\u56e0\u4e3a test \u662f\u4e4b\u524d\u6ca1\u6709\u7684\uff0c\u53ef\u80fd\u662f\u6d4b\u8bd5\u751f\u6210\u7684\u3002\u4f46\u662f\u56e0\u4e3a\u751f\u6210\u4e4b\u540e\u9700\u8981\u91cd\u542f\u670d\u52a1\u624d\u80fd\u52a0\u8f7d\u751f\u6210\u7684\u4ee3\u7801\u3002\u6240\u4ee5\u8fd9\u91cc\u52a0\u8f7d\u4e0d\u51fa\u6765\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3369693\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sunshinev <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Resource \u5bf9\u7684\uff0c\u6211\u53d1\u73b0\u4e86\uff0c\u8fd9\u4e2a\u95ea\uff0c\u662f\u56e0\u4e3a\u6211\u6dfb\u52a0\u4e86\u6a21\u6001\u6548\u679c\u3002\u6bcf\u6b21\u4ea7\u751f\u7f51\u7edc\u8bf7\u6c42\u90fd\u4f1a\u4ea7\u751f\u6a21\u6001                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>go-sword \u4e00\u952e\u751f\u6210 MyS&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/157744"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=157744"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/157744\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=157744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=157744"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=157744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}