MCPcopy Create free account
hub / github.com/cel-expr/cel-go / exercise5

Function exercise5

codelab/codelab.go:100–104  ·  view source on GitHub ↗

exercise5 covers how to build complex objects as CEL literals. Given the input `now`, construct a JWT with an expiry of 5 minutes.

()

Source from the content-addressed store, hash-verified

98//
99// Given the input `now`, construct a JWT with an expiry of 5 minutes.
100func exercise5() {
101 fmt.Println("=== Exercise 5: Building JSON ===")
102
103 fmt.Println()
104}
105
106// exercise6 describes how to build proto message types within CEL.
107//

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected