1
0
mirror of https://github.com/golang/go synced 2024-11-17 13:54:46 -07:00

all: remove some unused code

Change-Id: I519b8021fa79dccc5c0ee79134547491116fc4cc
GitHub-Last-Rev: 48869f5434
GitHub-Pull-Request: golang/go#48071
Reviewed-on: https://go-review.googlesource.com/c/go/+/346231
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Keith Randall <khr@golang.org>
This commit is contained in:
Alexander Melentyev 2021-09-11 06:59:17 +00:00 committed by Ian Lance Taylor
parent 71adc658de
commit 4a4221e818
2 changed files with 0 additions and 4 deletions

View File

@ -51,9 +51,6 @@ var (
scanbytes []byte scanbytes []byte
scanraw RawBytes scanraw RawBytes
scanint int scanint int
scanint8 int8
scanint16 int16
scanint32 int32
scanuint8 uint8 scanuint8 uint8
scanuint16 uint16 scanuint16 uint16
scanbool bool scanbool bool

View File

@ -425,7 +425,6 @@ const (
internalToUnix int64 = -unixToInternal internalToUnix int64 = -unixToInternal
wallToInternal int64 = (1884*365 + 1884/4 - 1884/100 + 1884/400) * secondsPerDay wallToInternal int64 = (1884*365 + 1884/4 - 1884/100 + 1884/400) * secondsPerDay
internalToWall int64 = -wallToInternal
) )
// IsZero reports whether t represents the zero time instant, // IsZero reports whether t represents the zero time instant,