From 65368c82f3c1d232b14dd5f806697a08e942ad0e Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 27 Jun 2023 12:28:23 +0300 Subject: [PATCH] Explicit latest Go --- go.mod | 2 +- tai64n.go | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index e0e9206..9238f9b 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module go.cypherpunks.ru/tai64n/v2 -go 1.12 +go 1.20 diff --git a/tai64n.go b/tai64n.go index 50a4e55..2ffe3e8 100644 --- a/tai64n.go +++ b/tai64n.go @@ -18,11 +18,11 @@ along with this program. If not, see . // TAI64/TAI64N (http://cr.yp.to/libtai/tai64.html) dealing library. // You can convert time to TAI64/TAI64N and vice versa with it. // -// tai := new(tai64n.TAI64N) -// tai.FromTime(time.Now()) -// printable := tai64n.Encode(tai[:]) -// decoded, err := tai64n.Decode(printable) -// tai64n.ToTime(tai[:]) == decoded +// tai := new(tai64n.TAI64N) +// tai.FromTime(time.Now()) +// printable := tai64n.Encode(tai[:]) +// decoded, err := tai64n.Decode(printable) +// tai64n.ToTime(tai[:]) == decoded // // By default TAI64 timestamps contain initial 1972-01-01 10-seconds // TAI<->UTC difference. If you need honest TAI representation, then you -- 2.44.0