]> Sergey Matveev's repositories - sgblog.git/blobdiff - common.go
Top translation
[sgblog.git] / common.go
index 587d2ce23a6912bc928b1a7d82fcbb048cdf7736..ee87739e1993992cfd71215c82dd6c4996d933f4 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.18.0"
+       Version = "0.30.1"
        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
        }