gproperties

package
v0.0.0-...-2910145 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package gproperties 提供了对 .properties 文件内容的访问和转换功能。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(data []byte) (res map[string]interface{}, err error)

Decode将属性格式转换为映射。

func Encode

func Encode(data map[string]interface{}) (res []byte, err error)

Encode 将map转换为属性格式。

func ToJson

func ToJson(data []byte) (res []byte, err error)

ToJson 将 .properties 格式转换为 JSON。

Types

This section is empty.

Jump to

Keyboard shortcuts

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