Skip to content

Instantly share code, notes, and snippets.

@42atomys
Created June 20, 2022 11:25
Show Gist options
  • Save 42atomys/41455474667b56094fbe7392173390e9 to your computer and use it in GitHub Desktop.
Save 42atomys/41455474667b56094fbe7392173390e9 to your computer and use it in GitHub Desktop.
Initialize the Golang project layout based on https://github.com/golang-standards/project-layout
#!/bin/bash
mkdir -p {api,build/{ci,package},cmd,configs,deployements,docs,examples,githooks,pkg,internal/{app,pkg},scripts,tests,tools,web,website}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment