]> Sergey Matveev's repositories - sgblog.git/blobdiff - common.go
Updated dependencies
[sgblog.git] / common.go
index 789940085aec94e5b77c4916d6db1ee7747a21aa..9c4843b7ea81a18811f61b6b9b8e273f523867b3 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.20.1"
+       Version = "0.27.3"
        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
        }