text

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddVariables

func AddVariables(variables map[string]any, s string) string

AddVariables substitutes any placeholders for which there exists an equivalent variable and substitutes it; returning a string with all variables replaced.

func GenerateVariable

func GenerateVariable(s string) string

GenerateVariable generates a random value for a placeholder using a gofakeit generator.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL