Skip to content

Repo reorg#101

Merged
febbraro merged 2 commits intodevelopfrom
repo-reorg
Oct 27, 2017
Merged

Repo reorg#101
febbraro merged 2 commits intodevelopfrom
repo-reorg

Conversation

@febbraro
Copy link
Member

Repo is now reorg'd to not have all the code in a subfolder.

@febbraro febbraro requested review from grayside and tekante October 27, 2017 18:17
- "../scripts/test-go-fmt.sh"
- "go run main.go"
- "scripts/test-go-fmt.sh"
- "go run cmd/main.go"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just drop main.go in the root? Not sure what the cmd subdirectory adds in that case. Other than that minor thought, this looks grand.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked for inspiration form other go based CLI projects and this was a convention they used pretty regularly. Also, GoReleaser defaults to the repo root for main.go, but they show an example of overriding it and that example uses cmd/main/go

I think I just didnt; want any go files in the root where I expect to see config and other things.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done and done.

@febbraro febbraro merged commit d350454 into develop Oct 27, 2017
@febbraro febbraro deleted the repo-reorg branch October 27, 2017 18:57
@grayside grayside added this to the v2.0 milestone Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants