Updated README
diff --git a/README.md b/README.md index fa7bee7..16249b3 100644 --- a/README.md +++ b/README.md
@@ -16,8 +16,7 @@ Usage ----- - p, err := goproperties.MustLoadFile(filename) - + p := goproperties.MustLoadFile(filename, goproperties.ISO_8859_1) value, ok := p.Get("key") if ok { fmt.Println(value) @@ -25,11 +24,8 @@ or - p, err := goproperties.DecodeString("key = value") - if err != nil { - // handle error - } - + // load multiple files and ignore missing files + p := goproperties.MustLoadFiles([]string{filename1, filename2}, true, goproperties.ISO_8859_1) value, ok := p.Get("key") if ok { fmt.Println(value) @@ -38,7 +34,7 @@ History ------- -v0.9, 17 Dec 2013 - Initial release +v1.0, 6 Jan 2014 - Initial release License -------