Skip to content

gobco doesn't work well with nested packages #12

Description

@anmolbabu

when individual package paths are passed, gobco works like a charm
However, when gobco is run at a higher levels, composed of multiple nested packages, it errors out saying no Go files....

ababu17$ gobco pkg/
can't load package: package ........./pkg: no Go files in /var/folders/dc/ffvyv57j5dzf20lp3tlqfpqw0000gn/T/gobco-f9cfa878-befb-4140-861e-56900a45e25b/src/.........../pkg
exit status 1
open /var/folders/dc/ffvyv57j5dzf20lp3tlqfpqw0000gn/T/gobco-f9cfa878-befb-4140-861e-56900a45e25b/gobco-counts.json: no such file or directory


ababu17$ ls
Makefile	README.md	coverage.out	go.mod		go.sum		pkg		vendor


ababu17$ ls pkg/
cover.sh	env		logging		messaging	models		test.sh		utils


ababu17$ ls pkg/models/
constants.go	defs.go		defs_test.go	interface.go	job.go		job_test.go	mocks


ababu17$ ls pkg/utils/
file.go			file_test.go		object.go		object_test.go		schedule.go		schedule_test.go	str.go			str_test.go

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions