{"id":169,"date":"2026-04-08T09:00:00","date_gmt":"2026-04-08T03:30:00","guid":{"rendered":"https:\/\/smitabharat.com\/blog\/?p=169"},"modified":"2026-10-10T21:20:42","modified_gmt":"2026-10-10T15:50:42","slug":"go-modules-packages-explained","status":"publish","type":"post","link":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/","title":{"rendered":"Go Modules and Packages Explained Simply"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Go modules and packages help you split a growing program into tidy folders that are easy to reuse and share. In this post, you will create a module, build your own package and add a library from the internet. Each step comes with commands and code that you can run yourself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You already ran <code>go mod init<\/code> once in the guide to <a href=\"https:\/\/smitabharat.com\/blog\/install-go-first-program\/\">install Go and run your first program<\/a>. This time, however, you will see what it really does. You will also export functions, so a refresher on <a href=\"https:\/\/smitabharat.com\/blog\/go-functions-beginners-guide\/\">writing and calling functions in Go<\/a> will help.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Are Go Modules and Packages?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A package is a folder of Go files that work together, such as <code>fmt<\/code> or <code>strings<\/code>. A module is a collection of packages with one name and one version. In short, packages organise code, while Go modules manage the whole project and its dependencies.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, think of a library building. The module is the building, each package is a shelf, and each file is a book on that shelf. So when you import a package, you are picking a shelf to borrow from.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating Go Modules with go mod init<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir hello\ncd hello\ngo mod init example.com\/hello\n# go: creating new go.mod: module example.com\/hello<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">First, the name you pass is the module path. For a real project, people usually use their repository address, such as <code>github.com\/yourname\/hello<\/code>. Then every package inside starts with that path.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Understanding the go.mod File<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>module example.com\/hello\n\ngo 1.24.7<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In addition, this small file sits at the root of your project. Specifically, it records the module path and the Go version. Later, it also lists every outside library your code needs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Packages: Organising Your Code<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Creating Your Own Package<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ greet\/greet.go\npackage greet\n\nimport \"fmt\"\n\nfunc Hello(name string) string {\n\treturn fmt.Sprintf(\"Hello, %s!\", name)\n}\n\nfunc secret() string { return \"hidden\" }<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ main.go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"example.com\/hello\/greet\"\n)\n\nfunc main() {\n\tfmt.Println(greet.Hello(\"Smita\")) \/\/ Hello, Smita!\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">First, create a folder called <code>greet<\/code> and start its file with <code>package greet<\/code>. Then import it with the module path plus the folder name. Finally, the diagram below shows how the pieces fit together.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/smitabharat.com\/blog\/wp-content\/uploads\/2026\/10\/go-modules-packages-explained-diagram-1024x640.png\" alt=\"Go Modules diagram showing one module with a main package importing a greet package\" class=\"wp-image-171\" srcset=\"https:\/\/smitabharat.com\/blog\/wp-content\/uploads\/2026\/10\/go-modules-packages-explained-diagram-1024x640.png 1024w, https:\/\/smitabharat.com\/blog\/wp-content\/uploads\/2026\/10\/go-modules-packages-explained-diagram-300x188.png 300w, https:\/\/smitabharat.com\/blog\/wp-content\/uploads\/2026\/10\/go-modules-packages-explained-diagram-768x480.png 768w, https:\/\/smitabharat.com\/blog\/wp-content\/uploads\/2026\/10\/go-modules-packages-explained-diagram.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>One module holds two packages, and main imports greet using the module path.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Exported vs Unexported Names<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Names that start with a capital letter, like <code>Hello<\/code>, are exported, which means other packages can use them. In contrast, lowercase names, like <code>secret<\/code>, stay private to their own package. So <code>greet.secret()<\/code> fails with &#8220;undefined: greet.secret&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Importing Packages<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For instance, standard library packages, like <code>fmt<\/code> and <code>strings<\/code>, need only their short name. However, your own and outside packages use the full path. Also, Go refuses to compile a file with an unused import, which keeps your code clean.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Adding Third-Party Go Modules<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>go get github.com\/google\/uuid<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>import \"github.com\/google\/uuid\"\n\nid := uuid.New()\nfmt.Println(id.String()) \/\/ a new random ID each run<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To begin with, the <code>go get<\/code> command downloads the library and adds a <code>require<\/code> line to go.mod. It also creates <code>go.sum<\/code>, which stores checksums. In other words, a checksum is a fingerprint that proves nobody changed the code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Useful Go Modules Commands<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Command<\/th><th>What it does<\/th><\/tr><\/thead><tbody><tr><td>go mod init &lt;path&gt;<\/td><td>Starts a new module<\/td><\/tr><tr><td>go get &lt;package&gt;<\/td><td>Adds or updates a library<\/td><\/tr><tr><td>go mod tidy<\/td><td>Adds missing and removes unused libraries<\/td><\/tr><tr><td>go run .<\/td><td>Runs the main package in this folder<\/td><\/tr><tr><td>go build<\/td><td>Builds a program you can ship<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Therefore, run <code>go mod tidy<\/code> often, especially before you commit code. Consequently, it keeps go.mod and go.sum exactly in line with your imports.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Mistakes with Go Modules<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Error you see<\/th><th>Why it happens<\/th><th>How to fix it<\/th><\/tr><\/thead><tbody><tr><td>go: go.mod file not found in current directory or any parent directory<\/td><td>The folder has no module yet.<\/td><td>Run go mod init first.<\/td><\/tr><tr><td>no required module provides package github.com\/google\/uuid<\/td><td>The library is not in go.mod.<\/td><td>Run go get or go mod tidy.<\/td><\/tr><tr><td>&#8220;os&#8221; imported and not used<\/td><td>An import is left over.<\/td><td>Delete it or use it.<\/td><\/tr><tr><td>undefined: greet.secret<\/td><td>The name starts with lowercase.<\/td><td>Capitalise it to export it.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Indeed, the first error is very common when you open the wrong folder in your terminal. Module questions also come up in my <a href=\"https:\/\/smitabharat.com\/blog\/go-lang-interview-questions-and-answers\/\">Go interview questions and answers<\/a>, so give them a try.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Official Resources<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">These pages come straight from the Go team, so they are always accurate and up to date.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/go.dev\/doc\/tutorial\/create-module\">Tutorial: Create a Go module<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/go.dev\/doc\/code\">How to Write Go Code<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/go.dev\/ref\/mod\">Go Modules Reference<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Quick Recap<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A package is a folder of Go files, and a module is a set of packages.<\/li>\n\n\n\n<li>Go modules start with go mod init, which creates go.mod.<\/li>\n\n\n\n<li>Import your own packages with the module path plus the folder name.<\/li>\n\n\n\n<li>Capitalised names are exported, and lowercase names stay private.<\/li>\n\n\n\n<li>Use go get to add libraries and go mod tidy to clean up.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What&#8217;s Next?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Your project is now well organised. Next, we will start the most famous Go feature: running many tasks at once with goroutines.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Coming soon: Go Goroutines Explained for Beginners<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Go modules and packages help you split a growing program into tidy folders that are easy to reuse and share. In this post, you&hellip;<\/p>\n","protected":false},"author":1,"featured_media":200,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_swapz_level":"","_swapz_series_part":0,"_swapz_hide_toc":false,"_swapz_hide_featured":false,"_swapz_description":"","footnotes":""},"categories":[15],"tags":[11,35,23,21],"swapz_series":[],"class_list":["post-169","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-go-lang","tag-go-lang","tag-go-modules","tag-go-tutorial","tag-golang-basics"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Go Modules and Packages Explained Simply<\/title>\n<meta name=\"description\" content=\"Learn Go modules and packages with simple examples: go mod init, go.mod, your own packages, exported names, go get and go mod tidy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Go Modules and Packages Explained Simply\" \/>\n<meta property=\"og:description\" content=\"Learn Go modules and packages with simple examples: go mod init, go.mod, your own packages, exported names, go get and go mod tidy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/\" \/>\n<meta property=\"og:site_name\" content=\"Smita Bharat - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-08T03:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-10T15:50:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/smitabharat.com\/blog\/wp-content\/uploads\/2026\/10\/go-modules-packages-explained-featured-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Smita\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Smita\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/\"},\"author\":{\"name\":\"Smita\",\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/#\\\/schema\\\/person\\\/27a1b1067d396703215c54acedbfd339\"},\"headline\":\"Go Modules and Packages Explained Simply\",\"datePublished\":\"2026-04-08T03:30:00+00:00\",\"dateModified\":\"2026-10-10T15:50:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/\"},\"wordCount\":755,\"publisher\":{\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/#\\\/schema\\\/person\\\/27a1b1067d396703215c54acedbfd339\"},\"image\":{\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/go-modules-packages-explained-featured-1.png\",\"keywords\":[\"Go Lang\",\"Go Modules\",\"Go Tutorial\",\"Golang Basics\"],\"articleSection\":[\"Go Lang\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/\",\"url\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/\",\"name\":\"Go Modules and Packages Explained Simply\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/go-modules-packages-explained-featured-1.png\",\"datePublished\":\"2026-04-08T03:30:00+00:00\",\"dateModified\":\"2026-10-10T15:50:42+00:00\",\"description\":\"Learn Go modules and packages with simple examples: go mod init, go.mod, your own packages, exported names, go get and go mod tidy.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/#primaryimage\",\"url\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/go-modules-packages-explained-featured-1.png\",\"contentUrl\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/go-modules-packages-explained-featured-1.png\",\"width\":1200,\"height\":630,\"caption\":\"Go Modules featured image: cards showing go mod init, a package import and go get\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/go-modules-packages-explained\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Go Modules and Packages Explained Simply\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/\",\"name\":\"Smita Bharat Blog\",\"description\":\"Golang &amp; Backend Development Tutorials and Interview Questions\",\"publisher\":{\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/#\\\/schema\\\/person\\\/27a1b1067d396703215c54acedbfd339\"},\"alternateName\":\"Smita Bharat\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/#\\\/schema\\\/person\\\/27a1b1067d396703215c54acedbfd339\",\"name\":\"Smita\",\"logo\":{\"@id\":\"https:\\\/\\\/smitabharat.com\\\/blog\\\/#\\\/schema\\\/person\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/smitabharat.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Go Modules and Packages Explained Simply","description":"Learn Go modules and packages with simple examples: go mod init, go.mod, your own packages, exported names, go get and go mod tidy.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/","og_locale":"en_US","og_type":"article","og_title":"Go Modules and Packages Explained Simply","og_description":"Learn Go modules and packages with simple examples: go mod init, go.mod, your own packages, exported names, go get and go mod tidy.","og_url":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/","og_site_name":"Smita Bharat - Blog","article_published_time":"2026-04-08T03:30:00+00:00","article_modified_time":"2026-10-10T15:50:42+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/smitabharat.com\/blog\/wp-content\/uploads\/2026\/10\/go-modules-packages-explained-featured-1.png","type":"image\/png"}],"author":"Smita","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Smita","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/#article","isPartOf":{"@id":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/"},"author":{"name":"Smita","@id":"https:\/\/smitabharat.com\/blog\/#\/schema\/person\/27a1b1067d396703215c54acedbfd339"},"headline":"Go Modules and Packages Explained Simply","datePublished":"2026-04-08T03:30:00+00:00","dateModified":"2026-10-10T15:50:42+00:00","mainEntityOfPage":{"@id":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/"},"wordCount":755,"publisher":{"@id":"https:\/\/smitabharat.com\/blog\/#\/schema\/person\/27a1b1067d396703215c54acedbfd339"},"image":{"@id":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/smitabharat.com\/blog\/wp-content\/uploads\/2026\/10\/go-modules-packages-explained-featured-1.png","keywords":["Go Lang","Go Modules","Go Tutorial","Golang Basics"],"articleSection":["Go Lang"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/","url":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/","name":"Go Modules and Packages Explained Simply","isPartOf":{"@id":"https:\/\/smitabharat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/#primaryimage"},"image":{"@id":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/smitabharat.com\/blog\/wp-content\/uploads\/2026\/10\/go-modules-packages-explained-featured-1.png","datePublished":"2026-04-08T03:30:00+00:00","dateModified":"2026-10-10T15:50:42+00:00","description":"Learn Go modules and packages with simple examples: go mod init, go.mod, your own packages, exported names, go get and go mod tidy.","breadcrumb":{"@id":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/#primaryimage","url":"https:\/\/smitabharat.com\/blog\/wp-content\/uploads\/2026\/10\/go-modules-packages-explained-featured-1.png","contentUrl":"https:\/\/smitabharat.com\/blog\/wp-content\/uploads\/2026\/10\/go-modules-packages-explained-featured-1.png","width":1200,"height":630,"caption":"Go Modules featured image: cards showing go mod init, a package import and go get"},{"@type":"BreadcrumbList","@id":"https:\/\/smitabharat.com\/blog\/go-modules-packages-explained\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/smitabharat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Go Modules and Packages Explained Simply"}]},{"@type":"WebSite","@id":"https:\/\/smitabharat.com\/blog\/#website","url":"https:\/\/smitabharat.com\/blog\/","name":"Smita Bharat Blog","description":"Golang &amp; Backend Development Tutorials and Interview Questions","publisher":{"@id":"https:\/\/smitabharat.com\/blog\/#\/schema\/person\/27a1b1067d396703215c54acedbfd339"},"alternateName":"Smita Bharat","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/smitabharat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/smitabharat.com\/blog\/#\/schema\/person\/27a1b1067d396703215c54acedbfd339","name":"Smita","logo":{"@id":"https:\/\/smitabharat.com\/blog\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/smitabharat.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/comments?post=169"}],"version-history":[{"count":3,"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":174,"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/posts\/169\/revisions\/174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/media\/200"}],"wp:attachment":[{"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/media?parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/categories?post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/tags?post=169"},{"taxonomy":"swapz_series","embeddable":true,"href":"https:\/\/smitabharat.com\/blog\/wp-json\/wp\/v2\/swapz_series?post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}