Skip to content

Commit

Permalink
docs: add style section to readme
Browse files Browse the repository at this point in the history
Signed-off-by: Otto Bittner <cobittner@posteo.net>
  • Loading branch information
derpsteb committed Nov 28, 2024
1 parent 6fd9200 commit e51f582
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ Run linter:
golangci-lint run ./...
```

# Style

Please make sure that the content of files follows this order (sorted from top to bottom):
- Constants and variables
- Exported functions
- Exported types followed by their new funcs, exported methods, and unexported methods, i.e.
- Unexported functions
- Unexported types and their methods

# Used by

This tool was originally developed for [Constellation](https://github.com/edgelesssys/constellation) to verify launch measurements on AWS's SNP instances.

0 comments on commit e51f582

Please sign in to comment.