Commit Graph
36 Commits
Author SHA1 Message Date
vinchent 71bc024fe2 wallet: use self defined type Bitcoin 2024-09-11 11:15:24 +02:00
vinchent 8644bf547b wallet: add wallet struct and balance funcs 2024-09-11 11:08:53 +02:00
vinchent f5ecd40f01 shapes: make table test more readable 2024-09-11 09:23:19 +02:00
vinchent 47a831ab33 shapes: add Triangle area test 2024-09-11 09:17:21 +02:00
vinchent 595ed65745 shapes: transform to a table test 2024-09-11 09:14:28 +02:00
vinchent d708e70352 shapes: add Shape interface 2024-09-11 09:10:19 +02:00
vinchent ff89c50710 shapes: add Circle struct and Area func 2024-09-11 09:06:46 +02:00
vinchent d5d910db5a shapes: use Rectangle as receiver 2024-09-11 09:03:57 +02:00
vinchent 5de98f3ac8 shapes: create a rectangle struct 2024-09-11 08:58:04 +02:00
vinchent 9381e4c92a shapes: add rectangle perimeter and area funcs 2024-09-11 08:55:19 +02:00
vinchent 2353543f7d sum: add local test check function 2024-09-10 21:56:18 +02:00
vinchent 42aaff6c2e sum: add SumAllTails 2024-09-10 21:51:21 +02:00
vinchent 4bfd9eda4f sum: use slices.Equal 2024-09-10 21:43:55 +02:00
vinchent fac93ea9ec sum: use DeepEqual to compare 2024-09-10 21:43:19 +02:00
vinchent 29215486db sum: use variadic functions 2024-09-10 21:38:18 +02:00
vinchent e905c600f3 sum: sumAll 2024-09-10 21:34:27 +02:00
vinchent fc419ec3be sum: slice 2024-09-10 21:27:13 +02:00
vinchent b427b8fbfb sum: range 2024-09-10 21:16:01 +02:00
vinchent 5775ea5e50 sum: v1 2024-09-10 21:15:12 +02:00
vinchent fb1e5e2835 iteration: Use strings pkg and compare the bench results 2024-09-10 13:39:14 +02:00
vinchent 75304d4c23 iteration: add repeatTime as an argument 2024-09-10 13:32:46 +02:00
vinchent 2684521bdd iteration: add example for Repeat function 2024-09-10 13:30:09 +02:00
vinchent de5d9f39b6 iteration: add benchmark test 2024-09-10 13:23:32 +02:00
vinchent 917ce1638f iteration: add simple iteration function 2024-09-10 13:20:33 +02:00
vinchent ad9df93776 integers: add doc for Add function 2024-09-10 13:10:08 +02:00
vinchent bdef054bb6 integers: add testable examples 2024-09-10 13:09:20 +02:00
vinchent effff8ae16 integers: add adder 2024-09-10 13:04:47 +02:00
vinchent 25ed3404d8 add README 2024-09-10 11:50:36 +02:00
vinchent 268677b9ad reorgniaze the repo 2024-09-10 11:50:18 +02:00
vinchent b50e202a97 Hello: multi language v2 2024-09-10 11:44:21 +02:00
vinchent 576e29f1ba Hello: multiple languages 2024-09-10 11:35:30 +02:00
vinchent f593fb28de hello_test: create an assert function 2024-09-10 11:20:52 +02:00
vinchent 5e32007c89 Hello: use const for magic strings 2024-09-10 11:16:15 +02:00
vinchent cbd4cf628f hello default world 2024-09-10 11:12:42 +02:00
vinchent f13632e425 hello %s 2024-09-10 11:09:31 +02:00
vinchent aa8ec804e9 first test for hello world 2024-09-10 11:06:51 +02:00