What's the tests ? You can check the command what's the test, on "Pattern Genetaror.txt" file
What's inside ?
- 'main.go' (The CMD that usually using for app to runs) Inside folder 'cmd' -> 'patternLogicApp'
- 'patternLogic.go' (Here is the logic) Inside folder 'pkg' -> 'patternLogic'
- 'patternLogic_test.go' (The simple test file for logic) This file placement was same with 'patternLogic.go' file
How to use ?
- Go to app root
cd github.com/satriaa14/online-test-software-engineer/cmd/patternLogicApp
- Start app by typing
go run main.go
(function with default value pattern = 5) 2.1. Or if you want to add dynamic value pattern, just typinggo run main.go -val=[your_value]
2.2. Just like thisgo run main.go -val=10
- Write MORE Tests
- Add Night Mode
TEXO