{"id":33,"date":"2024-11-24T14:26:59","date_gmt":"2024-11-24T06:26:59","guid":{"rendered":"https:\/\/genetop.top\/?p=33"},"modified":"2024-11-24T14:38:50","modified_gmt":"2024-11-24T06:38:50","slug":"go-useful-tool","status":"publish","type":"post","link":"https:\/\/genetop.top\/index.php\/2024\/11\/24\/go-useful-tool\/","title":{"rendered":"go \u5b9e\u7528\u5f00\u53d1\u5de5\u5177"},"content":{"rendered":"<h2 id=\"6hcajs\" class=\"markdown-heading\">\u5b89\u88c5GF\u5f00\u53d1\u5de5\u5177 gf-cli<\/h2>\n<pre class=\" language-bash\" data-syntaxhighlighter-params=\"brush: bash; gutter: false; theme: Confluence\" data-theme=\"Confluence\" data-bidi-marker=\"true\"><code>go <span class=\"token function\">install<\/span> github.com\/gogf\/gf\/cmd\/gf\/v2@latest<\/code><\/pre>\n<p>&nbsp;<\/p>\n<h3><strong>Run a Command Directly with <code>screen<\/code><\/strong><\/h3>\n<p><code>screen -dmS startServer go run main.go<\/code><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5GF\u5f00\u53d1\u5de5\u5177 gf-cli go install github.com\/gogf\/gf\/cmd\/gf\/v2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-33","post","type-post","status-publish","format-standard","hentry","category-go"],"_links":{"self":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts\/33","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":2,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":35,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts\/33\/revisions\/35"}],"wp:attachment":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}