keywordreplace

package module
v0.0.0-...-5f34eba Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: BSD-3-Clause Imports: 3 Imported by: 14

Documentation

Overview

* Copyright © 2020. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Replace

func Replace(input string, lefttoken string, righttoken string, keyword string, replacement string) string

Types

type KeywordMapper

type KeywordMapper struct {
	// contains filtered or unexported fields
}

func NewKeywordMapper

func NewKeywordMapper(
	template string,
	lefttag string,
	righttag string) *KeywordMapper

func (*KeywordMapper) Replace

func (this *KeywordMapper) Replace(template string, keywordMap map[string]interface{}) string

type KeywordReplaceHandler

type KeywordReplaceHandler struct {
	// contains filtered or unexported fields
}

func (*KeywordReplaceHandler) Replace

func (this *KeywordReplaceHandler) Replace(keyword string) string

Jump to

Keyboard shortcuts

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