added documentation godoc
diff --git a/doc/gojsonpointer.txt b/doc/gojsonpointer.txt
new file mode 100644
index 0000000..8d1882f
--- /dev/null
+++ b/doc/gojsonpointer.txt
@@ -0,0 +1,21 @@
+PACKAGE
+
+package gojsonpointer
+    import "gojsonpointer"
+
+
+TYPES
+
+type JsonPointer struct {
+    // contains filtered or unexported fields
+}
+
+func NewJsonPointer(jsonPointerString string) (JsonPointer, error)
+
+func (p *JsonPointer) Get(document interface{}) (interface{}, reflect.Kind, error)
+    Uses the pointer to retrieve a value from a JSON document
+
+func (p *JsonPointer) String() string
+    Pointer to string representation function
+
+