From 47ac747a566f3a4d536e13e6e0eab0e04cae5f90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Thu, 12 Jan 2023 22:32:21 +0800 Subject: [PATCH] make lint happy --- config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.go b/config.go index e380ea4..59f39f0 100644 --- a/config.go +++ b/config.go @@ -40,6 +40,7 @@ type Title struct { TextFontOffsetPoint float64 } +// Sum64 struct 的摘要 func (t *Title) Sum64() uint64 { h := crc64.New(crc64.MakeTable(crc64.ECMA)) sz := unsafe.Sizeof(Title{}) @@ -89,6 +90,7 @@ type Card struct { Text []string } +// Sum64 struct 的摘要 func (c *Card) Sum64() uint64 { h := crc64.New(crc64.MakeTable(crc64.ECMA)) sz := unsafe.Sizeof(Card{})