From c2e61ca80e856ccedb6fac93e6e7f25e95be1148 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 6 Aug 2024 15:04:59 +0300 Subject: [PATCH] gofumpt --- tai64n.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tai64n.go b/tai64n.go index f27ead7..37e9f79 100644 --- a/tai64n.go +++ b/tai64n.go @@ -42,8 +42,10 @@ const ( Base = 0x4000000000000000 + Leapsecs1972 ) -type TAI64 [TAI64Size]byte -type TAI64N [TAI64NSize]byte +type ( + TAI64 [TAI64Size]byte + TAI64N [TAI64NSize]byte +) func (dst *TAI64) FromTime(src time.Time) { binary.BigEndian.PutUint64(dst[:], uint64(Base)+uint64(src.Unix())) -- 2.48.1