property

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodePropertyFileValue added in v1.8.0

func DecodePropertyFileValue(entry, key string) (string, error)

DecodePropertyFileEntry returns the decoded value corresponding to the given key in the entry.

func EncodePropertyFile

func EncodePropertyFile(sourceProperties map[string]string) (string, error)

EncodePropertyFile encodes a property map into a .properties file.

func EncodePropertyFileEntry

func EncodePropertyFileEntry(key, value string) (string, error)

EncodePropertyFileEntry converts the given key/value pair into a .properties file entry.

func SplitPropertyFileEntry

func SplitPropertyFileEntry(entry string) (string, string)

SplitPropertyFileEntry splits an encoded property into key/value pair, without decoding the content.

Types

This section is empty.

Jump to

Keyboard shortcuts

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