💉Nonce Injection
Corgi can automatically inject nonce
attributes into script
elements to be used with a Content Security Policy.
To enable nonce injection, simply place a compiler directive above the func header, with a Go expression retrieving the nonce:
Last updated