I have created a package named go-orm in golang and its structure is follows.
go-orm
--| mine.go
--| src
-----| src.go
-----| db
--------| DBConnection.go
When I ran the command "go install" in go-orm directory, it created only go-orm.a but not src.a and db.a (sub directories or packages). When I checked "go install" with mgo package it created .a files for it's sub directory "bson".
I need the same functionality for my package. What change is needed in my package to make this possible.
Edit 1
my package is in GOPATH/src/ directory. All my sub packages(src and db) exist.