replacer

package
v3.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Replace

func Replace(template string, values map[string]interface{}) string

Replace replaces placeholders in template with values on the fly.

func ReplaceOne

func ReplaceOne(template string, key string, value interface{}) string

Replace replaces one placeholder in template with one value on the fly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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