exercise7 introduces macros for dealing with repeated fields and maps. Determine whether the `jwt.extra_claims` has at least one key that starts with the `group` prefix, and ensure that all group-like keys have list values containing only strings that end with '@acme.co`.
()
| 120 | // with the `group` prefix, and ensure that all group-like keys have list |
| 121 | // values containing only strings that end with '@acme.co`. |
| 122 | func exercise7() { |
| 123 | fmt.Println("=== Exercise 7: Macros ===") |
| 124 | |
| 125 | fmt.Println() |
| 126 | } |
| 127 | |
| 128 | // exercise8 covers some useful features of CEL-Go which can be used to |
| 129 | // improve performance and better understand evaluation behavior. |