Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a go template func for ras #501

Closed
LinuxSuRen opened this issue Jul 1, 2024 · 0 comments · Fixed by #502
Closed

Add a go template func for ras #501

LinuxSuRen opened this issue Jul 1, 2024 · 0 comments · Fixed by #502
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@LinuxSuRen
Copy link
Owner

LinuxSuRen commented Jul 1, 2024

You can add the functions to https://github.com/LinuxSuRen/api-testing/blob/master/pkg/render/template.go

See also https://gist.github.com/miguelmota/3ea9286bd1d3c2a985b67cac4ba2130a

The potential usage could be: {{rasEncryptWithPublicKey "content" "key"}}

@LinuxSuRen LinuxSuRen added enhancement New feature or request good first issue Good for newcomers labels Jul 1, 2024
@LinuxSuRen LinuxSuRen linked a pull request Jul 1, 2024 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant