aicra/internal/config
Adrien Marquès 2b67655cfd
refactor: reduce cyclomatic complexity of service.validateInput()
- simplify matchPattern()
 - rename isMethodAvailable() to checkMethod()
 - rename isPatternValid() to checkPattern()
 - rename validateInput() to checkInput()
 - rename validateOutput() to checkOutput()
 - refactor per-type input param management in new method parseParam(); that returns the param type (added unexported enum) and the error
 - refactor collision detection from checkInput() and checkOutput() in new method nameConflicts()
2021-06-22 22:18:29 +02:00
..
config.go fix: lint: consistent receiver name 2021-06-22 21:15:25 +02:00
config_test.go refactor: export config errors 2021-06-21 21:50:57 +02:00
errors.go refactor: export config errors 2021-06-21 21:50:57 +02:00
parameter.go refactor: export config errors 2021-06-21 21:50:57 +02:00
service.go refactor: reduce cyclomatic complexity of service.validateInput() 2021-06-22 22:18:29 +02:00