{"id":2631,"date":"2022-04-10T21:40:22","date_gmt":"2022-04-11T04:40:22","guid":{"rendered":"https:\/\/doubleecpu.com\/?page_id=2631"},"modified":"2022-04-11T00:18:45","modified_gmt":"2022-04-11T07:18:45","slug":"go-crud-functions","status":"publish","type":"page","link":"https:\/\/doubleecpu.com\/index.php\/go-crud-functions\/","title":{"rendered":"Go CRUD Functions"},"content":{"rendered":"\n<p>Create a Go CRUD API interface,<br>Create a new directory for this example \\go-movies-crud\\<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install External Package<\/h3>\n\n\n\n<p>To install the package gorilla mux use the go get command on command line<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">go get github.com\/gorilla\/mux<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1277\" height=\"156\" src=\"https:\/\/doubleecpu.com\/wp-content\/uploads\/2022\/04\/image.png\" alt=\"\" class=\"wp-image-2646\"\/><figcaption>The command will also install dependencies<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Create main.go<\/h3>\n\n\n\n<p>In VSCode create a new file with the name main.go<br><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create a Go CRUD API interface,Create a new directory for this example \\go-movies-crud\\ Install External Package To install the package gorilla mux use the go get command on command line go get github.com\/gorilla\/mux Create main.go In VSCode create a new file with the name main.go<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2631","page","type-page","status-publish","hentry"],"featured_media_urls":[],"_links":{"self":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/2631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/comments?post=2631"}],"version-history":[{"count":3,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/2631\/revisions"}],"predecessor-version":[{"id":2647,"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/pages\/2631\/revisions\/2647"}],"wp:attachment":[{"href":"https:\/\/doubleecpu.com\/index.php\/wp-json\/wp\/v2\/media?parent=2631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}