{"id":4275,"date":"2020-11-02T22:08:04","date_gmt":"2020-11-02T16:38:04","guid":{"rendered":"https:\/\/golangbyexamples.com\/?p=4275"},"modified":"2020-11-02T22:08:11","modified_gmt":"2020-11-02T16:38:11","slug":"importing-package-same-module-go","status":"publish","type":"post","link":"https:\/\/golangbyexamples.com\/importing-package-same-module-go\/","title":{"rendered":"Importing package within the same module in Go (Golang)"},"content":{"rendered":"\n

Any package within the same module can be imported using the import path of module + directory containing that package. To illustrate lets create a module<\/p>\n\n\n\n