]> Cypherpunks.ru repositories - netstring.git/blobdiff - ns.go
Raise copyright years
[netstring.git] / ns.go
diff --git a/ns.go b/ns.go
index af1159f39262f4b6a23f0aac8a325284345e56af..a47471198ca93274f7c4b6467386ecbc642b9d38 100644 (file)
--- a/ns.go
+++ b/ns.go
@@ -1,6 +1,6 @@
 /*
 netstring -- netstring format serialization library
-Copyright (C) 2015-2020 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2015-2023 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -31,5 +31,5 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //   size, err := r.Next()         // size is 5
 //   r.Discard()                   // skip that chunk
 //   size, err = r.Next()          // size is 6
-//   data, _ := ioutil.ReadAll(r)  // data contains "world!"
+//   data, _ := io.ReadAll(r)  // data contains "world!"
 package netstring