actions

package
v0.0.0-...-e3dc4ac Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDocument

func GetDocument(filename string, reader io.Reader) (*hclq.HclDocument, error)

func Set

func Set(filename string, reader io.Reader, queryString, newValue string) ([]byte, error)

func SetMany

func SetMany(filename string, reader io.Reader, replacements []Replace) ([]byte, error)

Types

type Replace

type Replace struct {
	Query    string
	NewValue string
}

Jump to

Keyboard shortcuts

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