check

package
v0.0.0-...-ff4cbb2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package check 统一检查外部接口,拒绝接口中隐藏的空指针。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Nil

func Nil(value any) bool

Nil 识别接口中包装的 nil 值,避免无效实现绕过配置校验。

func NotBeforeNow

func NotBeforeNow(now time.Time) time.Time

NotBeforeNow 在存储门禁内校准当前时间,避免排队期间过期的凭据继续生效。 调用方更晚的逻辑时间仍然保留,用于确定性回收及期限验证。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL