stringmerge

package
v0.15.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeContentInBlock

func ChangeContentInBlock(currentContent, blockStartPattern, blockEndPattern, blockContentStr string) string

ChangeContentInBlock - checks the currentContent whether a `blockStartPattern` and `blockEndPattern` block is already present. If there is, then only the block's content will be modified. If there's no marked block in the content yet then append it to the existing content with the `blockContentStr` content in the block.

Types

This section is empty.

Jump to

Keyboard shortcuts

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