瀏覽代碼

updated-readme

drhodes 13 年之前
父節點
當前提交
44960816d1
共有 1 個文件被更改,包括 9 次插入6 次删除
  1. 9 6
      README.md

+ 9 - 6
README.md

@@ -4,22 +4,25 @@ This makes generating lorem ipsum a snap for your project.
 
 Usage
 -----
+import "lorem"
+
 
 Exposed functions
 -----------------
 Ranged generators
 
+
 These will generate a string with a variable number 
 of elements specified by a range you provide
 
-* Word(min, max int) string
-* Sentence(min, max int) string
-* Paragraph(min, max int) string
+* lorem.Word(min, max int) string
+* lorem.Sentence(min, max int) string
+* lorem.Paragraph(min, max int) string
 
 Convenience functions
 ---------------------
-* Host() string
-* Email() string
-* Url() string
+* lorem.Host() string
+* lorem.Email() string
+* lorem.Url() string