-
I'm migrating some deploy code from ansible to cue. When I write MySQL's deploy code, like:
Is there a Best Practice to do something like this? or any other approach you would like to suggest! Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
mvdan
Jan 29, 2024
Replies: 1 comment 1 reply
-
You have interpolations in CUE like |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Awadabang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have interpolations in CUE like
"hello \(name)"
, but you also have templating which mimicks Go's text/template package, like"hello {{ .name }}"
: https://pkg.go.dev/cuelang.org/go/pkg/text/template@master