0

golang course

Someone has solved lesson 31 project code (Ticking Timer) from the "Pointers & Structs" block of the golang course, can you help me? //is the only one I need to finish the course

24th Nov 2021, 11:15 PM
Emmanuel
Emmanuel - avatar
1 Resposta
+ 2
Emmanuel You need to make a struct with id and name. A method tick() which will increase value by 1 and print value just after incrementing like: timer.value += 1 fmt.println(timer.value)
25th Nov 2021, 2:17 AM
A͢J
A͢J - avatar