Categorygithub.com/vbsw/misc/properties
package
0.2.0
Repository: https://github.com/vbsw/misc.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

properties

GoDoc

About

This package provides functions to read and write properties. It is published on https://github.com/vbsw/misc/properties.

Example

package main

import (
	"fmt"
	"github.com/vbsw/misc/properties"
)

func main() {
	props, err := properties.ReadFile("some/path/to/file")

	if err == nil {
		for propName, propValue := range props {
			fmt.Println(propName, propValue)
		}
	}
}

References