diff options
author | LaĆs Lima <laislima98@hotmail.com> | 2022-12-28 19:55:18 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-28 19:55:18 -0300 |
commit | ef213556a3c33adc38ef13be91fa532b4188e9ae (patch) | |
tree | 6a366d371fe83eddfa8b1cf9a43bf1a6c1324fcc /info.toml | |
parent | a5938c32e9459b2627fcbbc9a7792ef90264978e (diff) |
Add exercises for anonymous functions
Diffstat (limited to 'info.toml')
-rw-r--r-- | info.toml | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -251,3 +251,28 @@ Embedding is achieved using just the struct name. After embedding a struct, we are able to access the fields through the base struct, without having to specify the full path to the field. But you can do if you want. """ + +[[exercises]] +name = "anonymous-functions1" +path = "exercises/anonymous-functions/anonymous-functions1/main.go" +mode = "compile" +hint = """ +The function needs a string to print +""" + +[[exercises]] +name = "anonymous-functions2" +path = "exercises/anonymous-functions/anonymous-functions2/main.go" +mode = "compile" +hint = """ +Maybe you should call the function with a param +""" + +[[exercises]] +name = "anonymous-functions3" +path = "exercises/anonymous-functions/anonymous-functions3/main.go" +mode = "compile" +hint = """ +1 - updateStatus() function should return an orderStatus index like orderStatus[index] +2 - Maybe you should call anonymous_func once more time +"""
\ No newline at end of file |