func (s *Plugin2) CreateAnotherDB() (DBV, error) {
	return DBV{
		Name: "",
	}, nil
}
this is the same type but different packages
package plugin2
type Plugin2 struct {
}
type DBV struct {
	Name string
}
func (s *Plugin2) Init() error {
	return nil
}
func (s *Plugin2) Provides() []interface{} {
	return []interface{}{
		s.CreateAnotherDB,
	}
}