File tree Expand file tree Collapse file tree 4 files changed +27
-17
lines changed
Expand file tree Collapse file tree 4 files changed +27
-17
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,12 @@ This project is inspired by the java version [ArchUnit](https://www.archunit.org
1212- Package dependency checking
1313- Package, folder and file naming checking
1414- Project layer checking
15+
16+ ## Todo
17+ - All const should be defined in a file in a package
18+ - All file with extension should be in the folder
19+ - platform specific code naming
20+
21+ ## Method
22+ - limit the accessibility of methods of struct
23+ - limit the accessibility of methods of package
Original file line number Diff line number Diff line change 1+ package internal
Original file line number Diff line number Diff line change 1+ package archunit
2+
3+ type Method struct {
4+ selector []string
5+ }
6+
7+ func MethodsComplyWithType () * Method {
8+ return nil
9+ }
10+
11+ func (m * Method ) ShouldBeInPackage (pkgs string ) error {
12+ return nil
13+ }
14+
15+ func (m * Method ) ShouldBeInFolder (folder string ) error {
16+ return nil
17+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments