Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 986 Bytes

README.md

File metadata and controls

41 lines (23 loc) · 986 Bytes

Goproperties Build Status

Package implements read operations of .properties source.

Documentation

The Goproperties API reference is available on GoDoc.

Installation

Install Goproperties using the go get command:

go get -u github.com/dmotylev/goproperties

Usage

Example:

package main

import "github.com/dmotylev/goproperties"

func main() {
	p, _ := properties.Load("credentials")
	username := p.String("username","demo")
	password := p.String("password","demo")

	// ... use given credentials

	_, _ = username, password
}

Look at properties_test.go for more usage hints.

License

For the license see LICENSE.