]> Cypherpunks.ru repositories - gotai64n.git/blobdiff - cmd/tai64nlocal/main.go
Raise copyright years
[gotai64n.git] / cmd / tai64nlocal / main.go
index 04bce9dfd5b8fafd10aff0e0ae246cea2c462a0d..f1fb222ec6d58274df6e96e0e4b1310b8f4952e6 100644 (file)
@@ -1,6 +1,6 @@
 /*
 go.cypherpunks.ru/tai64n -- Pure Go TAI64/TAI64N implementation
-Copyright (C) 2020-2022 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2020-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
@@ -21,7 +21,6 @@ import (
        "bufio"
        "flag"
        "fmt"
-       "io/ioutil"
        "log"
        "os"
        "strings"
@@ -44,7 +43,7 @@ func main() {
        flag.Parse()
 
        if *db != "" {
-               buf, err := ioutil.ReadFile(*db)
+               buf, err := os.ReadFile(*db)
                if err != nil {
                        log.Fatalln(err)
                }