Skip to content

Static analysis tool to validate Go project structure

License

Notifications You must be signed in to change notification settings

wimspaargaren/prolayout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProLayout

Pro(ject) layout is a static analysis tool that allow you to lint the project structure of your go project.

Why

Since Go does not enforce any real project structure, we wanted to have a static analysis tool, to help us to ensure projects are structured in a similar fashion.

Example configuration file

module: "github.com/wimspaargaren/prolayout"
root:
  - name: "cmd"
    dirs:
      - name: ".*"
        files:
          - "main.go"
  - name: "internal"
  - name: "pkg"
  - name: "tests"
    files:
      - name: ".*_test.go"

About

Static analysis tool to validate Go project structure

Resources

License

Stars

Watchers

Forks

Packages

No packages published