Skip to content

Commit c096929

Browse files
committed
docs: add style section to readme
Signed-off-by: Otto Bittner <[email protected]>
1 parent ce4461f commit c096929

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ Run linter:
3737
golangci-lint run ./...
3838
```
3939

40+
# Style
41+
42+
Please make sure that the content of files follows this order (sorted from top to bottom):
43+
- Constants and variables
44+
- Exported functions
45+
- Exported types followed by their new funcs, exported methods, and unexported methods, i.e.
46+
- Unexported functions
47+
- Unexported types and their methods
48+
4049
# Used by
4150

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

0 commit comments

Comments
 (0)