aboutsummaryrefslogtreecommitdiffstats
path: root/info.toml
diff options
context:
space:
mode:
authorLaĆ­s Lima <laislima98@hotmail.com>2022-12-28 19:55:18 -0300
committerGitHub <noreply@github.com>2022-12-28 19:55:18 -0300
commitef213556a3c33adc38ef13be91fa532b4188e9ae (patch)
tree6a366d371fe83eddfa8b1cf9a43bf1a6c1324fcc /info.toml
parenta5938c32e9459b2627fcbbc9a7792ef90264978e (diff)
Add exercises for anonymous functions
Diffstat (limited to 'info.toml')
-rw-r--r--info.toml25
1 files changed, 25 insertions, 0 deletions
diff --git a/info.toml b/info.toml
index 8bf256a..a60742c 100644
--- a/info.toml
+++ b/info.toml
@@ -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