{"categories":["Go","Go Language","Go Modules","Golang","local package"],"height":"190","url":"https://www.ekwbtblog.com/entry/2020/04/23/114706","author_url":"https://blog.hatena.ne.jp/kwbtblog/","published":"2020-04-23 11:47:06","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.ekwbtblog.com%2Fentry%2F2020%2F04%2F23%2F114706\" title=\"How to use local packages in Go language (Go Moludes) - Welcome to new things\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://www.ekwbtblog.com/","version":"1.0","blog_title":"Welcome to new things","width":"100%","provider_name":"Hatena Blog","description":"I was writing a program in Golang and the program was getting long, so I decided to break it up into packages. configuration The directory structure is as follows. . |-- a | `-- a.go |-- b | `-- b.go `-- main.go procedure Square Needle Use Go Modules to turn your program into a single module and spe\u2026","type":"rich","provider_url":"https://hatena.blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kwbtblog/20200406/20200406012313.png","title":"How to use local packages in Go language (Go Moludes)","author_name":"kwbtblog"}