Write Java properties files in Go
Module gophers.dev/pkgs/javapropio provides a package for writing the content
of Java properties files.
The javapropio package can be installed by running
$ go get gophers.dev/pkgs/javapropio
var buf bytes.Buffer
w, _ := NewWriter(&buf)
_ = w.WriteProp("foo", "bar")
_ = w.Close()
s := buf.String() // java properties formattedThe gophers.dev/pkgs/javapropio module is always improving with new features
and error corrections. For contributing bug fixes and new features please file an issue.
The gophers.dev/pkgs/javapropio module is open source under the BSD-3-Clause license.
This is a fork of a deleted package, originally by github.com/rboyer