go.mod | 2 +- tai64n.go | 10 +++++----- diff --git a/go.mod b/go.mod index efe269df3e58dbc575803711834231d2ef979832e34ddab4fdb14051bbca4cd7..aeece5c10279d83d239e6b7366625acacd8ef9dc610605ceedea78484c95a557 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 936bfade698938e9a0bd3ee126cfc1744af42f27c9e2b5a60e93a4bdf49e7a7d..de8f83d7fdd6f176ba891d164948abebc6ab9b0fa230e30265f08b3a1357dead 100644 --- a/tai64n.go +++ b/tai64n.go @@ -18,11 +18,11 @@ // 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