From 91731c52648acf7954ac01c55d8f895e58fb1650 Mon Sep 17 00:00:00 2001 From: jim teeuwen Date: Tue, 20 Mar 2012 02:29:13 +0100 Subject: [PATCH] Another minor README fix. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 62758b7..0d86408 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ conversion to types: int, int64, uint, uint64, float32, float64: *node.U64(ns, name string) uint64 *node.F32(ns, name string) float32 *node.F64(ns, name string) float64 - *node.B(namespace, name string) bool + *node.B(ns, name string) bool Note that these functions actually consider child nodes for matching names as well as the current node. In effect they first perform a node.SelectNode() and @@ -70,7 +70,7 @@ function is invoked on: *node.Au64(ns, name string) uint64 *node.Af32(ns, name string) float32 *node.Af64(ns, name string) float64 - *node.Ab(namespace, name string) bool + *node.Ab(ns, name string) bool All of these functions return either "" or 0 when the specified node or attribute could not be found. No errors are generated.