Add Local Version field to files, send index in segments.

This commit is contained in:
Jakob Borg committed 2014-07-15 13:04:37 +02:00
1 parent fccdd85cc1
commit 8b349945de
16 files changed
+291 -288

No files matched your search

+2 -2
View File
@@ -17,8 +17,8 @@ var (
// Generate returns a check digit for the string s, which should be composed
// of characters from the Alphabet a.
func (a Alphabet) Generate(s string) (rune, error) {
if err:=a.check();err!=nil{
return 0,err
if err := a.check(); err != nil {
return 0, err
}
factor := 1