4 ms·
Here is a fairly typical project structure you would find in one of our projects /.buildkite /.github /acceptance # for housing the acceptance leve
by sethammons 7y ago
Here is a fairly typical project structure you would find in one of our projects
/.buildkite
/.github
/acceptance # for housing the acceptance level tests
/bin # scripts to help
/config # an anti-pattern, but we like a config package
/config.go
/tests
/ # misc go files for testing
/$foo # any other packages directly related to tests or the environment
/bin # any scripts to help with anything
/cmd
/$appname
/main.go
/$bar # any other installable binaries
/config # an anti-pattern, but we like a config package
/config.go
/$raz # packages that support our service
/internal # stuff we want to import but not let others import. Seldom used.
/server # or $appname, our main service code
.gitignore
.Dockerfile
README.md
docker-compose.yml
go.mod
go.sum
makefile