Commit Graph

23 Commits

Author SHA1 Message Date
b8b994157e
Refactor RPS/RPSLS 2022-09-18 14:57:15 -05:00
6139db889d
Refactor RPS/RPSLS 2022-09-15 09:32:37 -05:00
a3137e5276
Refactor rock, paper, scissors 2022-09-14 08:34:51 -05:00
7b3368eea4
Unmarshal the weather summary 2022-09-13 08:56:33 -05:00
49000133d8
Return empty args slice is the argument is an empty string 2022-09-09 10:22:08 -05:00
446ac616bf
Fix lint errors
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-07 00:54:58 -05:00
139b32094e
Specify number of splits to make for command arguments
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-09-06 10:43:30 -05:00
f3145d8c1d
Fix test name typo 2022-09-06 08:35:44 -05:00
0f25b75fe4
Add forgotten imports
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-09-05 15:14:42 -05:00
d3b95c693b
Add test for SplitCommandAndArgs
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-05 13:03:47 -05:00
043738668b
Add new implementation of HasCommand 2022-09-05 13:03:02 -05:00
579921a975
s/HasCommand/ContainsCommand/g
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-05 12:54:56 -05:00
9b33684d60
HasCommand() should detect an invalid command when it has arguments 2022-09-04 08:51:01 -05:00
cd46fcb60d
Add a first test 2022-09-04 08:50:43 -05:00
6a389be6a7
Add helper to split the command and arguments
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-01 09:26:23 -05:00
35c72daff4
Trim spaces 2022-09-01 09:25:59 -05:00
53a6efa13e
weather: Use variables for error messages 2022-08-28 18:34:14 -05:00
7d071ebe0b
Move OpenWeatherMap code to a separate struct 2022-08-28 09:44:35 -05:00
424b191ebc
Fix HasCommand()
It was not working if the command had an argument
2022-08-26 17:55:51 -05:00
ce689146de
Reorganize packages 2022-08-24 09:06:00 -05:00
547063de2e
Move handlers to their own package 2022-08-23 13:25:44 -05:00
2674645475
SeedMathRand should return an error 2022-08-04 11:14:35 -05:00
4e69e241dd
Seed math/rand more efficiently 2022-08-03 23:28:07 -05:00