assert: restore CompareType, but mark it as deprecated

Reinstate CompareType for full backward compatibility, but mark it as
deprecated.
pull/1566/head
Olivier Mengué 2024-03-04 22:58:57 +01:00
parent 39442a4e4e
commit a155d2a49d
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ import (
"time"
)
// Deprecated: CompareType has only ever been for internal use and has accidently been published since v1.6.0. Do not use it.
type CompareType = compareResult
type compareResult int
const (