placeholder

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Replace

func Replace(s string, vars map[string]interface{}) string

Types

type Placeholder

type Placeholder struct {
	Value string
	Vars  []interface{}
}

func Create

func Create(value string, vars map[string]interface{}, placeholder string) (*Placeholder, error)

Jump to

Keyboard shortcuts

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