[Pkg-privacy-commits] [golang-siphash-dev] 12/23: Fix README formatting.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:55:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository golang-siphash-dev.

commit 9e786e895734c69b15ad381261cf1582143f709b
Author: Dmitry Chestnykh <dmitry at codingrobots.com>
Date:   Thu Jun 21 16:15:28 2012 +0200

    Fix README formatting.
---
 README | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/README b/README
index 9123c6a..9f7460b 100644
--- a/README
+++ b/README
@@ -5,29 +5,27 @@ INSTALLATION
 
     $ go get github.com/dchest/siphash
 
-
 USAGE
 
     import "github.com/dchest/siphash"
 
-    There are two ways to use this package.
-    The slower one is to use the standard hash.Hash64 interface:
+There are two ways to use this package.
+The slower one is to use the standard hash.Hash64 interface:
 
     h := siphash.New(key)
     h.Write([]byte("Hello")
     sum := h.Sum(nil) // returns 8-bit []byte
 
-    or
+or
 
     sum64 := h.Sum64() // returns uint64
 
-    The faster one is to use Hash() function, which takes two uint64 parts of
-    16-byte key and a byte slice, and returns uint64 hash:
+The faster one is to use Hash() function, which takes two uint64 parts of
+16-byte key and a byte slice, and returns uint64 hash:
 
     sum64 := siphash.Hash(key0, key1, []byte("Hello"))
 
-    The keys and output are little-endian.
-
+The keys and output are little-endian.
 
 FUNCTIONS
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/golang-siphash-dev.git



More information about the Pkg-privacy-commits mailing list