{"id":14673,"date":"2014-07-10T10:52:46","date_gmt":"2014-07-10T05:22:46","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=14673"},"modified":"2014-07-13T21:08:42","modified_gmt":"2014-07-13T15:38:42","slug":"gofmt-formatting-the-go-code","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/","title":{"rendered":"gofmt: Formatting the go code"},"content":{"rendered":"<p><img decoding=\"async\" src=\"\/blog\/wp-ttn-blog\/uploads\/2014\/12\/golang.jpg\" alt=\"golang\" height=\"200\" class=\"aligncenter size-full wp-image-14744\" title=\"Mascot for GoLang\" \/><\/p>\n<p>When i started working on <code>golang<\/code>, some interesting things came out related to formatting. <\/p>\n<p>Till now we used to use <strong>IDE<\/strong> formatting and indentation with combos like <code>\"ctrl+shift+f\"<\/code> or something else, so!! what if your machine could take care of all the formatting issues? and what if it not only works at file level but also at package level. Need i convince you any more? \ud83d\ude09<\/p>\n<p>Let see how it happens:<\/p>\n<p><h2>gofmt<\/h2>\n<\/p>\n<p>gofmt read the go program and show the result after indentation, vertical alignment and even re formats comments too.<\/p>\n<p><strong>commands and options<\/strong><br \/>\n<code>gofmt filename<\/code> : This will print reformatted code.<br \/>\n<code>gofmt -w filename<\/code> : This will reformat the code and updates the file.<br \/>\n<code>gofmt -r 'rule' filename<\/code> : Apply the rewrite rule to the source before reformatting.<br \/>\n<code>gofmt \/path\/to\/package<\/code> : This will format the whole package.<\/p>\n<p>Here is small example for gofmt<br \/>\nfilename: <code>demo.go<\/code><\/p>\n<p>[js]<br \/>\npackage main<br \/>\n          import &quot;fmt&quot;<br \/>\n\/\/ this is demo to format code<br \/>\n            \/\/ with gofmt command<br \/>\n var a int=2;<br \/>\n             var b int=5;<br \/>\n                            var c string= `hello world`;<br \/>\n       func print(){<br \/>\n                   fmt.Println(&quot;Value for a,b and c is : &quot;);<br \/>\n                        fmt.Println(a);<br \/>\n                                 fmt.Println((b));<br \/>\n                                         fmt.Println(c);<br \/>\n                         }<br \/>\n[\/js]<\/p>\n<p><strong>Command<\/strong>: gofmt demo.go<br \/>\n<strong>Output<\/strong>:<\/p>\n<p>[js]<br \/>\npackage main<\/p>\n<p>import &quot;fmt&quot;<\/p>\n<p>\/\/ this is demo to format code<br \/>\n\/\/ with gofmt command<br \/>\nvar a int = 2<br \/>\nvar b int = 5<br \/>\nvar c string = `hello world`<\/p>\n<p>func print() {<br \/>\n\t    fmt.Println(&quot;Value for a,b and c is : &quot;)<br \/>\n        fmt.Println(a)<br \/>\n        fmt.Println((b))<br \/>\n        fmt.Println(c)<br \/>\n}<br \/>\n[\/js]<\/p>\n<p>In above example we can see that there are multiple parenthesis around variable b,so below command will remove the extra parenthesis from println statement and will update the file too. Rule must be provide with <code>-r<\/code> option.<br \/>\n<strong>command: <\/strong> <code>gofmt -r '(a) -&gt; a' -w demo.go<\/code><br \/>\n<strong>output: <\/strong><\/p>\n<p>[js]<br \/>\npackage main<\/p>\n<p>import &quot;fmt&quot;<\/p>\n<p>\/\/ this is demo to format code<br \/>\n\/\/ with gofmt command<br \/>\nvar a int = 2<br \/>\nvar b int = 5<br \/>\nvar c string = `hello world`<\/p>\n<p>func print() {<br \/>\n\t    fmt.Println(&quot;Value for a,b and c is : &quot;)<br \/>\n        fmt.Println(a)<br \/>\n        fmt.Println(b)<br \/>\n        fmt.Println(c)<br \/>\n}<br \/>\n[\/js]<\/p>\n<p>I hope you are liking this interesting feature of <code>golang<\/code>. Stay tuned for more interesting features of <code>golang<\/code> in upcoming blogs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Till now we used to use IDE formatting and indentation with combos like &#8220;ctrl+shift+f&#8221; or something else, so!! what if your machine could take care of all the formatting issues? and what if it not only works at file level but also at package level.<\/p>\n","protected":false},"author":66,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":35,"footnotes":""},"categories":[1],"tags":[1471,1470,398,1474],"class_list":["post-14673","post","type-post","status-publish","format-standard","hentry","category-technology","tag-go","tag-golang","tag-google","tag-opensource"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Till now we used to use IDE formatting and indentation with combos like &quot;ctrl+shift+f&quot; or something else, so!! what if your machine could take care of all the formatting issues? and what if it not only works at file level but also at package level.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Sahil Chitkara\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"gofmt: Formatting the go code | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Till now we used to use IDE formatting and indentation with combos like &quot;ctrl+shift+f&quot; or something else, so!! what if your machine could take care of all the formatting issues? and what if it not only works at file level but also at package level.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"gofmt: Formatting the go code | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Till now we used to use IDE formatting and indentation with combos like &quot;ctrl+shift+f&quot; or something else, so!! what if your machine could take care of all the formatting issues? and what if it not only works at file level but also at package level.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/gofmt-formatting-the-go-code\\\/#article\",\"name\":\"gofmt: Formatting the go code | TO THE NEW Blog\",\"headline\":\"gofmt: Formatting the go code\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sahil\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2014\\\/12\\\/golang.jpg\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/gofmt-formatting-the-go-code\\\/#articleImage\"},\"datePublished\":\"2014-07-10T10:52:46+05:30\",\"dateModified\":\"2014-07-13T21:08:42+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/gofmt-formatting-the-go-code\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/gofmt-formatting-the-go-code\\\/#webpage\"},\"articleSection\":\"Technology, go, golang, Google, opensource\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/gofmt-formatting-the-go-code\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/gofmt-formatting-the-go-code\\\/#listItem\",\"name\":\"gofmt: Formatting the go code\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/gofmt-formatting-the-go-code\\\/#listItem\",\"position\":3,\"name\":\"gofmt: Formatting the go code\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sahil\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sahil\\\/\",\"name\":\"Sahil Chitkara\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/gofmt-formatting-the-go-code\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b91bdfc498b589781ffafd1e1add2085872ca7c745e54e167c93abc1853439f4?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Sahil Chitkara\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/gofmt-formatting-the-go-code\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/gofmt-formatting-the-go-code\\\/\",\"name\":\"gofmt: Formatting the go code | TO THE NEW Blog\",\"description\":\"Till now we used to use IDE formatting and indentation with combos like \\\"ctrl+shift+f\\\" or something else, so!! what if your machine could take care of all the formatting issues? and what if it not only works at file level but also at package level.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/gofmt-formatting-the-go-code\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sahil\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sahil\\\/#author\"},\"datePublished\":\"2014-07-10T10:52:46+05:30\",\"dateModified\":\"2014-07-13T21:08:42+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"gofmt: Formatting the go code | TO THE NEW Blog","description":"Till now we used to use IDE formatting and indentation with combos like \"ctrl+shift+f\" or something else, so!! what if your machine could take care of all the formatting issues? and what if it not only works at file level but also at package level.","canonical_url":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/#article","name":"gofmt: Formatting the go code | TO THE NEW Blog","headline":"gofmt: Formatting the go code","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/sahil\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2014\/12\/golang.jpg","@id":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/#articleImage"},"datePublished":"2014-07-10T10:52:46+05:30","dateModified":"2014-07-13T21:08:42+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/#webpage"},"articleSection":"Technology, go, golang, Google, opensource"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/www.tothenew.com\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/#listItem","name":"gofmt: Formatting the go code"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/#listItem","position":3,"name":"gofmt: Formatting the go code","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/sahil\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/sahil\/","name":"Sahil Chitkara","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/b91bdfc498b589781ffafd1e1add2085872ca7c745e54e167c93abc1853439f4?s=96&d=mm&r=g","width":96,"height":96,"caption":"Sahil Chitkara"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/","name":"gofmt: Formatting the go code | TO THE NEW Blog","description":"Till now we used to use IDE formatting and indentation with combos like \"ctrl+shift+f\" or something else, so!! what if your machine could take care of all the formatting issues? and what if it not only works at file level but also at package level.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/sahil\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/sahil\/#author"},"datePublished":"2014-07-10T10:52:46+05:30","dateModified":"2014-07-13T21:08:42+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"gofmt: Formatting the go code | TO THE NEW Blog","og:description":"Till now we used to use IDE formatting and indentation with combos like &quot;ctrl+shift+f&quot; or something else, so!! what if your machine could take care of all the formatting issues? and what if it not only works at file level but also at package level.","og:url":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"gofmt: Formatting the go code | TO THE NEW Blog","twitter:description":"Till now we used to use IDE formatting and indentation with combos like &quot;ctrl+shift+f&quot; or something else, so!! what if your machine could take care of all the formatting issues? and what if it not only works at file level but also at package level.","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"14673","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 16:42:55","updated":"2024-02-29 08:53:51","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tgofmt: Formatting the go code\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Technology","link":"https:\/\/www.tothenew.com\/blog\/category\/technology\/"},{"label":"gofmt: Formatting the go code","link":"https:\/\/www.tothenew.com\/blog\/gofmt-formatting-the-go-code\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/14673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/66"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=14673"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/14673\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=14673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=14673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=14673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}