Commit Graph

134 Commits

Author SHA1 Message Date
raul 0444c42dd6 Finally finished exercise and added test script
I'm real proud of this one, might even make the sorter into its own
library along with minmax-array
2024-02-03 14:01:11 +01:00
raul 07d8c34480 Trying to get the sorting to work
Currently only gets the smallest number and prints it equal to the
amount of numbers in the original array, slices are a pain to deal with
2024-02-02 09:38:24 +00:00
raul 2bcbe7edc9 Added array-sorter exercise 2024-02-02 08:18:21 +00:00
raul 4b34de5781 Added ability to input custom delay 2024-02-01 12:40:28 +00:00
raul b93f7e445e Added cool delay to star printing 2024-02-01 07:13:28 +00:00
raul 4913df663a Added counter exercise 2024-01-31 07:43:11 +00:00
raul fde585b7ad Completed exercise and added min-max-array library
I'm done with this for now, gonna move on to newer projects instead of
getting stuck here
2024-01-31 07:19:14 +00:00
raul 20a539b9c4 Tweaking and improving UX 2024-01-30 09:35:22 +00:00
raul cfaf807701 Severely expanded functionality
Also, cleaner code!
2024-01-30 08:42:16 +00:00
raul 6f3370693d Starting new exercise 2024-01-30 06:47:29 +01:00
raul 24f0adac09 Cleanup 2024-01-29 17:43:28 +01:00
raul ce1106d3b3 Finished arrays exercise
I'm done with this exercise, it has become so convoluted that I can't
comprehend the codebase anymore, here be dragons
2024-01-29 17:40:49 +01:00
raul e7f5cec04c Added ability to input and store numbers 2024-01-28 07:41:55 +01:00
raul 58aeefff0f Removed cobra and added basic logic
Cobra was complicating things too much so I'm gonna stick to basic
switch statements for now when handling choices
2024-01-27 22:31:15 +01:00
raul d5183387ec Having fun with Cobra
Seems like a pretty decent library for creating CLI apps, I'll have to
practice with it more eventually
2024-01-26 22:27:27 +01:00
raul bb1cf72840 Playing with arrays 2024-01-26 18:53:59 +01:00
raul dd1849da8e Properly finished arithmetic average exercise
I've never done something so convoluted in my life, I think I should
just stick to fmt.scan whenever I'm asking for simple inputs
2024-01-25 19:50:52 +01:00
raul 09ecc6a483 Added a tiny mclibre exercise
Exercise about arithmetic
2024-01-25 12:07:20 +00:00
raul 114ba0c417 Figured out float formatting
I can't believe I didn't find out earlier about rounding down floating
point numbers with just two characters when instead of building an
entire function
2024-01-24 21:47:45 +01:00
raul 41f0d4a1f8 Added ability to input names with spaces
I finally figured out how to use the bufio library but I also had to get
acquainted with another library for strings to trim bufio's appended
newlines
2024-01-24 06:56:48 +01:00
raul 47d305243a Organized code and practiced error handling
Just found out nil is the equivalent of NULL
2024-01-22 14:23:12 +01:00
raul e928ff3728 Added mclibre section
Gonna be translating as many of the Python exercises from mclibre to
Golang as I can, seems like a fun task
2024-01-22 14:21:34 +01:00
raul 9964aa916e Added Golangr exercise
I'm gonna be picking up exercises from wherever I can manage to find on
the Internet, I'm still too green to start a personal project since I
still haven't dipped my toes in more advanced things like real error
handling and OS/Network interaction
2024-01-22 14:02:07 +01:00
raul a78392d3b3 Edited folder name
You can argue that using underscores may be safer but hyphens just look
way better, I will die on this hill
2024-01-22 13:58:52 +01:00
raul 9c13c74214 Added README.md 2024-01-21 18:40:35 +01:00
raul d4647fd0ae Added temp-conversion exercise 2024-01-21 16:16:07 +01:00
raul e56ec312f6 Organized code and improved error handling
Added really primitive error handling to numStar scanning, I really have
to figure out how to properly handle errors in Golang beyond abusing
if/else and switch/case
2024-01-20 12:23:39 +01:00
raul c33ebb25f0 Finished exercise and improved error handling 2024-01-19 09:23:55 +00:00
raul d9f17e78a3 Added star-shapes exercise 2024-01-19 08:03:40 +00:00
raul 8cd5dfcdc5 Testing 2024-01-17 22:04:20 +01:00
raul b3400252cb Test title
Added yes-clone miniproject
2024-01-16 21:01:29 +01:00
raul 696c069209 Finally finished the 'separar_letras' exercise 2024-01-16 19:06:32 +01:00
raul 1e2bef7cd9 test 2024-01-16 18:39:54 +01:00
raul 098e436e4a startup 2024-01-16 18:34:48 +01:00