<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>structure on Golang</title><link>https://golang.k5kc.com/categories/structure/</link><description>Recent content in structure on Golang</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 16 Aug 2020 00:10:00 +0530</lastBuildDate><atom:link href="https://golang.k5kc.com/categories/structure/index.xml" rel="self" type="application/rss+xml"/><item><title>Go Packages and Import</title><link>https://golang.k5kc.com/2020/08/16/3.package/</link><pubDate>Sun, 16 Aug 2020 00:10:00 +0530</pubDate><guid>https://golang.k5kc.com/2020/08/16/3.package/</guid><description>All package files, should be in the same (single) directory. i.e. all package source code files should be located in a one single directory. All files in a specific folder should belong to a one single package. It&amp;rsquo;s a convention, not a rule.
package clause can be used only once per file and it should be the first line in .go source file.
Package contains multiple Go files belonging to same folder.</description></item></channel></rss>