]> Sergey Matveev's repositories - sgblog.git/blobdiff - common.go
Excess loop
[sgblog.git] / common.go
index d6357fc984e9ba37c1850c05e2f9403135618b7c..7ea657c485a0a034d973b65631a02f80772a33cd 100644 (file)
--- a/common.go
+++ b/common.go
@@ -1,10 +1,10 @@
-// SGBlog -- Git-backed CGI/inetd blogging/phlogging engine
+// SGBlog -- Git-backed CGI/UCSPI blogging/phlogging/gemlogging engine
 package sgblog
 
 import (
        "bytes"
        "fmt"
-       "io/ioutil"
+       "io"
        "sort"
        "text/scanner"
 
@@ -15,7 +15,7 @@ import (
 )
 
 const (
-       Version = "0.17.0"
+       Version = "0.27.2"
        WhenFmt = "2006-01-02 15:04:05Z07:00"
 )
 
@@ -81,7 +81,7 @@ func GetNote(repo *git.Repository, tree *object.Tree, what plumbing.Hash) []byte
        if err != nil {
                return nil
        }
-       data, err := ioutil.ReadAll(r)
+       data, err := io.ReadAll(r)
        if err != nil {
                return nil
        }