{"id":426360,"date":"2021-04-05T15:25:30","date_gmt":"2021-04-05T07:25:30","guid":{"rendered":"http:\/\/4563.org\/?p=426360"},"modified":"2021-04-05T15:25:30","modified_gmt":"2021-04-05T07:25:30","slug":"%e5%86%99%e4%ba%86%e4%b8%80%e4%b8%aa%e8%83%8c%e8%8b%b1%e8%af%ad%e5%8d%95%e8%af%8d%e7%9a%84%e5%91%bd%e4%bb%a4%e8%a1%8c%e5%ae%a2%e6%88%b7%e7%ab%af","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=426360","title":{"rendered":"\u5199\u4e86\u4e00\u4e2a\u80cc\u82f1\u8bed\u5355\u8bcd\u7684\u547d\u4ee4\u884c\u5ba2\u6237\u7aef"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5199\u4e86\u4e00\u4e2a\u80cc\u82f1\u8bed\u5355\u8bcd\u7684\u547d\u4ee4\u884c\u5ba2\u6237\u7aef               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : catchexception <\/span>  <span><i><\/i> 12<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6700\u8fd1\u4e00\u76f4\u5728\u5b66\u82f1\u8bed\u79ef\u7d2f\u751f\u8bcd\uff0c\u540c\u65f6\u4e5f\u5728\u5b66\u4e60 Golang(\u7eaf newbie)\uff0c\u6e05\u660e\u8282\u653e\u5047\u65f6\u7a81\u53d1\u5176\u60f3\u7528 Golang \u5199\u4e00\u4e2a\u80cc\u5355\u8bcd\u7684\u547d\u4ee4\u884c\u5c0f\u5e94\u7528\uff0c\u63a5\u53e3\u4f7f\u7528\u7684\u662f\u6b27\u8def\u8bcd\u5178\u7684 REST API \u3002<\/p>\n<p>\u8fd8\u7ed9\u6b27\u8def\u80cc\u5355\u8bcd\u5c01\u88c5\u4e86\u4e00\u4e0b Golang \u7684 SDK\uff0c\u5176\u5b9e\u6b27\u8def\u5b98\u65b9\u63d0\u4f9b\u4e86 API\uff0c\u4f46\u662f\u53ea\u6709\u751f\u8bcd\u672c\u64cd\u4f5c\u7684\u7aef\u70b9\u3002 Golang SDK (GPLv3): https:\/\/github.com\/Lonor\/go-eudic<\/p>\n<p>CLI \u5ba2\u6237\u7aef\uff08 Release \u63d0\u4f9b AMD64 \u4e09\u5927\u64cd\u4f5c\u7cfb\u7edf\u7684\u4e8c\u8fdb\u5236\u538b\u7f29\u4ea7\u7269\uff09: https:\/\/github.com\/Lonor\/word<\/p>\n<p>\u4f7f\u7528\u524d\u8981\u5148\u5728\u6b27\u8def\u5b98\u7f51\u6ce8\u518c\u8d26\u53f7\uff0c\u7136\u540e\u9009\u62e9\u4e00\u672c\u5355\u8bcd\u672c\u6765\u5f00\u59cb\u5b66\u4e60\uff0c\u521d\u7248\u53ef\u80fd\u4f1a\u6709\u5f88\u591a bug\uff0c\u6b22\u8fce\u4e0b\u8f7d\u4f7f\u7528\u6216 issue \/ pr<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5679214\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : polaa <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             emmm \u5355\u7eaf\u4e2d\u82f1\u6587\u5bf9\u7167\u80cc\u5355\u8bcd\u6548\u7387\u5f88\u4f4e\u7684 <br \/>\u6211\u4e00\u822c\u90fd\u662f\u5bfc\u5165 \u82f1-\u82f1 \u67ef\u6797\u65af\u8bcd\u5178 \u8bcd\u6839\u8bcd\u6e90\u8bcd\u5178\u4e00\u8d77\u770b\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5679215\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : catchexception <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @polaa \u9879\u76ee\u7528\u6765\u7ec3\u624b\u7684\u3002\u5176\u5b9e API \u91cc\u8fd9\u4e9b\u90fd\u6709\u8fd4\u56de\uff08\u5305\u62ec\u4f8b\u53e5\u3001\u53d1\u97f3\u7b49\uff09\uff0c\u4f46\u662f CLI \u8fd9\u79cd\u5f62\u5f0f\u6536\u5230\u7684\u5c40\u9650\u6027\u6bd4\u8f83\u5927\uff0c\u6240\u4ee5\u53ea\u7b80\u5355\u5c55\u793a\u4e86\u57fa\u7840\u91ca\u4e49\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5679216\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : emmettwoo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c45\u7136\u662f\u901a\u8fc7\u73af\u5883\u53d8\u91cf\u8bfb\u8d26\u53f7\u5bc6\u7801\uff0c\u662f\u6709\u4ec0\u4e48\u7279\u6b8a\u7684\u8003\u8651\u5417\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u751f\u6210\u81ea\u5df1\u7684\u914d\u7f6e\u6587\u4ef6(\u25cf&#8217;\u25e1&#8217;\u25cf)                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5679217\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : catchexception <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @emmettwoo Go \u62ff\u73af\u5883\u53d8\u91cf\u6bd4\u8f83\u65b9\u4fbf, `os.GetEnv(&#8220;key&#8221;)` \u5c31\u51fa\u6765\u4e86\u3002\u540e\u9762\u7248\u672c\u4f1a\u8003\u8651\u628a Token \u8fd9\u4e9b\u5199\u5230\u78c1\u76d8\u6587\u4ef6\u4e0a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5679218\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : omph <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             TUI \u4f1a\u4e0d\u4f1a\u66f4\u4e30\u5bcc\u4e00\u4e9b\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5679219\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : catchexception <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @omph \u597d\u60f3\u6cd5\u3002\u4f46\u6211\u8fd9\u4e2a\u83dc\u9e1f\u76ee\u524d\u5c31\u4f1a\u57fa\u7840\u7684\u5355\u884c CLI\uff0cTUI \u4ee5\u540e\u4f1a\u5b66\u4e60\u5b9e\u8df5\u4e00\u4e0b\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5679220\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codingbody <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u9519\uff0c\u6700\u8fd1\u5728\u5b66\u4e60 go\uff0c\u5b66\u4e60\u4e00\u4e0b\u4e3b\u7684\u9879\u76ee                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5199\u4e86\u4e00\u4e2a\u80cc\u82f1\u8bed\u5355\u8bcd\u7684\u547d\u4ee4\u884c\u5ba2\u6237\u7aef &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\/426360"}],"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=426360"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/426360\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=426360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=426360"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=426360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}