{"id":8553,"date":"2021-05-01T14:43:53","date_gmt":"2021-05-01T14:43:53","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=8553"},"modified":"2024-04-15T07:57:53","modified_gmt":"2024-04-15T07:57:53","slug":"golang-switch-use-cases","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/","title":{"rendered":"Golang \u2013 Switch use cases"},"content":{"rendered":"\r\n<h2><span data-sheets-root=\"1\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Golang Switch Case Conditional Statements&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}\">Golang Switch Case Conditional Statements<\/span><\/h2>\r\n<p>&nbsp;<\/p>\r\n<p>In Go (Golang), the switch statement provides a flexible and concise way to implement conditional branching based on the value of an expression. Unlike traditional switch statements in other languages, Go&#8217;s switch statement does not require explicit break statements; instead, it automatically breaks at the end of each case block unless followed by a fallthrough keyword.<\/p>\r\n<p>The switch statement in Go can be used to evaluate various types of expressions, including integers, strings, and other comparable types. It supports multiple comma-separated values in each case, allowing for concise matching against multiple conditions.<\/p>\r\n<p>Go&#8217;s switch statement also supports optional initialization statements that are scoped to the switch block, enabling the use of short-lived variables specific to each case. Additionally, the switch statement can be used without an expression, effectively creating an alternative to if-else chains based on boolean conditions.<\/p>\r\n<p>Golang switch statements are <a href=\"https:\/\/prwatech.in\/blog\/go-lang\/installation-of-go-windows\/\">similar<\/a> to jump <a href=\"https:\/\/go.dev\/\">statements<\/a> in algorithms.<\/p>\r\n\r\n\r\n\r\n<h4><strong>Use Case 1:<\/strong><\/h4>\r\n\r\n\r\n\r\n<p>package main\u00a0<\/p>\r\n\r\n\r\n\r\n<p>import &#8220;fmt&#8221;\u00a0<\/p>\r\n\r\n\r\n\r\n<p>func main() {\u00a0<\/p>\r\n\r\n\r\n\r\n<p>fmt.Print(&#8220;Enter Number: &#8220;)\u00a0<\/p>\r\n\r\n\r\n\r\n<p>\u00a0 var i int\u00a0<\/p>\r\n\r\n\r\n\r\n<p>fmt.Scanln(&amp;i)\u00a0<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0 switch (i) {\u00a0<\/p>\r\n\r\n\r\n\r\n<p>\u00a0 case 1:\u00a0<\/p>\r\n\r\n\r\n\r\n<p>fmt.Print(&#8220;the value is 10&#8221;)\u00a0<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0 case 2:\u00a0<\/p>\r\n\r\n\r\n\r\n<p>fmt.Print(&#8220;the value is 20&#8221;)\u00a0<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0 case 3:\u00a0<\/p>\r\n\r\n\r\n\r\n<p>fmt.Print(&#8220;the value is 30&#8221;)\u00a0<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0 case 4:\u00a0<\/p>\r\n\r\n\r\n\r\n<p>fmt.Print(&#8220;the value is 40&#8221;)\u00a0<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0 default:\u00a0<\/p>\r\n\r\n\r\n\r\n<p>fmt.Print(&#8221; It is not in bound &#8220;)\u00a0<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0 }\u00a0<\/p>\r\n\r\n\r\n\r\n<p>}\u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"397\" height=\"428\" class=\"wp-image-8554\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-13.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-13.png 397w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-13-278x300.png 278w\" sizes=\"auto, (max-width: 397px) 100vw, 397px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Output:<\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8555\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-14.png\" alt=\"\" width=\"466\" height=\"90\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-14.png 311w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-14-300x58.png 300w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Use Case 2:<\/strong><\/p>\r\n\r\n\r\n\r\n<p>package main<\/p>\r\n\r\n\r\n\r\n<p>import &#8220;fmt&#8221;<\/p>\r\n\r\n\r\n\r\n<p>func main() {<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0 switch day:=4; day{<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 1:<\/p>\r\n\r\n\r\n\r\n<p>fmt.Println(&#8220;Monday&#8221;)<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 2:<\/p>\r\n\r\n\r\n\r\n<p>fmt.Println(&#8220;Tuesday&#8221;)<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 3:<\/p>\r\n\r\n\r\n\r\n<p>fmt.Println(&#8220;Wednesday&#8221;)<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 4:<\/p>\r\n\r\n\r\n\r\n<p>fmt.Println(&#8220;Thursday&#8221;)<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 5:<\/p>\r\n\r\n\r\n\r\n<p>fmt.Println(&#8220;Friday&#8221;)<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 6:<\/p>\r\n\r\n\r\n\r\n<p>fmt.Println(&#8220;Saturday&#8221;)<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case 7:<\/p>\r\n\r\n\r\n\r\n<p>fmt.Println(&#8220;Sunday&#8221;)<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 default:<\/p>\r\n\r\n\r\n\r\n<p>fmt.Println(&#8220;Invalid&#8221;)<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0 }<\/p>\r\n\r\n\r\n\r\n<p>}<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"463\" height=\"536\" class=\"wp-image-8556\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-15.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-15.png 463w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-15-259x300.png 259w\" sizes=\"auto, (max-width: 463px) 100vw, 463px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Output:<\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8557\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-16.png\" alt=\"\" width=\"432\" height=\"64\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-16.png 304w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-16-300x44.png 300w\" sizes=\"auto, (max-width: 432px) 100vw, 432px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Use Case 3:<\/strong><\/p>\r\n\r\n\r\n\r\n<p>package main<\/p>\r\n\r\n\r\n\r\n<p>import &#8220;fmt&#8221;<\/p>\r\n\r\n\r\n\r\n<p>func main() {<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0 var value string = &#8220;five&#8221;<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0 switch value {<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case &#8220;one&#8221;:<\/p>\r\n\r\n\r\n\r\n<p>fmt.Println(&#8220;C#&#8221;)<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case &#8220;two&#8221;, &#8220;three&#8221;:<\/p>\r\n\r\n\r\n\r\n<p>fmt.Println(&#8220;Go&#8221;)<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 case &#8220;four&#8221;, &#8220;five&#8221;, &#8220;six&#8221;:<\/p>\r\n\r\n\r\n\r\n<p>fmt.Println(&#8220;Java&#8221;)<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0 }\u00a0<\/p>\r\n\r\n\r\n\r\n<p>}<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8558\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-17.png\" alt=\"\" width=\"412\" height=\"405\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-17.png 373w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-17-300x295.png 300w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Output:<\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8559\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-18.png\" alt=\"\" width=\"506\" height=\"73\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-18.png 367w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-18-300x43.png 300w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><\/figure>\r\n","protected":false},"excerpt":{"rendered":"<p>Golang Switch Case Conditional Statements &nbsp; In Go (Golang), the switch statement provides a flexible and concise way to implement conditional branching based on the value of an expression. Unlike traditional switch statements in other languages, Go&#8217;s switch statement does not require explicit break statements; instead, it automatically breaks at the end of each case [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666,1707],"tags":[669,814,1303,1304,1308,1310],"class_list":["post-8553","post","type-post","status-publish","format-standard","hentry","category-go-lang","category-golang-modules","tag-golang","tag-golang-ide","tag-golang-installation","tag-golang-usecases","tag-install-golang","tag-switch-in-golang"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Golang Switch Case Conditional Statements - Prwatech<\/title>\n<meta name=\"description\" content=\"Master Golang Switch Case Conditional Statements - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Golang Switch Case Conditional Statements - Prwatech\" \/>\n<meta property=\"og:description\" content=\"Master Golang Switch Case Conditional Statements - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-01T14:43:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-15T07:57:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-13.png\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/\",\"url\":\"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/\",\"name\":\"Golang Switch Case Conditional Statements - Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-13.png\",\"datePublished\":\"2021-05-01T14:43:53+00:00\",\"dateModified\":\"2024-04-15T07:57:53+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Master Golang Switch Case Conditional Statements - Dive deep with our expert instructors and comprehensive curriculum.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-13.png\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-13.png\",\"width\":397,\"height\":428},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Golang \u2013 Switch use cases\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Golang Switch Case Conditional Statements - Prwatech","description":"Master Golang Switch Case Conditional Statements - Dive deep with our expert instructors and comprehensive curriculum.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Golang Switch Case Conditional Statements - Prwatech","og_description":"Master Golang Switch Case Conditional Statements - Dive deep with our expert instructors and comprehensive curriculum.","og_url":"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2021-05-01T14:43:53+00:00","article_modified_time":"2024-04-15T07:57:53+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-13.png","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/","url":"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/","name":"Golang Switch Case Conditional Statements - Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-13.png","datePublished":"2021-05-01T14:43:53+00:00","dateModified":"2024-04-15T07:57:53+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Master Golang Switch Case Conditional Statements - Dive deep with our expert instructors and comprehensive curriculum.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-13.png","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/05\/image-13.png","width":397,"height":428},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/go-lang\/golang-switch-use-cases\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Golang \u2013 Switch use cases"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/8553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=8553"}],"version-history":[{"count":3,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/8553\/revisions"}],"predecessor-version":[{"id":11498,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/8553\/revisions\/11498"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=8553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=8553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=8553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}