You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add a random hash generator for the templating engine since sometimes it's necessary to create hashes for configurations (e.g. Wordpress secret keys). The function name is randomHash.
The generator should take the arguments:
mandatory: length of hash
optional: regexp of symbols to use for the hash - if this is not set, use all symbols available in utf-8
As a bonus the function must also work with the default function.
Please add a random hash generator for the templating engine since sometimes it's necessary to create hashes for configurations (e.g. Wordpress secret keys). The function name is randomHash.
The generator should take the arguments:
As a bonus the function must also work with the
default
function.Example:
{{ randomHash "32" "[a-zA-Z0-9\[\]\{\}\.]" }}
{{ default .Env.AUTH_KEY randomHash "40" }}
The text was updated successfully, but these errors were encountered: