spring-base

module
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: Apache-2.0

README

spring-base

[仅发布] 该项目仅为最终发布,开发请关注 go-spring 项目。

Go-Spring 基础库,可以作为 Golang 标准库的补充。

模块名 功能介绍
assert 提供了一些常用的断言函数。
atomic 封装标准库 atomic 包的操作函数。
cast 提供了很多类型之间相互转换的函数。
color 提供了一些控制台输出格式。
conf 提供读取属性列表的方法。
flat 提供了一些将复合数据打平的函数。
knife 提供了 context.Context 上的缓存。
koala 提供了进程内缓存组件。
log 重新定义标准日志接口。
recorder 流量录制。
replayer 流量回放。
util 提供了一些常用的辅助函数。

Directories

Path Synopsis
Package barky provides utilities for handling hierarchical key/value data structures that commonly appear in configuration formats such as JSON, YAML, or TOML.
Package barky provides utilities for handling hierarchical key/value data structures that commonly appear in configuration formats such as JSON, YAML, or TOML.
internal
assert
Package assert provides some useful assertion methods.
Package assert provides some useful assertion methods.
atomic
Package atomic provides simple wrappers for `sync/atomic` to enforce atomic access.
Package atomic provides simple wrappers for `sync/atomic` to enforce atomic access.
cache
Package cache provides object caching in memory.
Package cache provides object caching in memory.
cast
Package cast provides many conversion functions between types.
Package cast provides many conversion functions between types.
color
Package color provides some console output formats.
Package color provides some console output formats.
knife
Package knife provides cache on `context.Context`.
Package knife provides cache on `context.Context`.
run
Package run provides methods to query the running mode of program.
Package run provides methods to query the running mode of program.
util
Package util is a generated GoMock package.
Package util is a generated GoMock package.
testing
assert
Package assert provides assertion helpers for testing, offering both functional and fluent assertion styles.
Package assert provides assertion helpers for testing, offering both functional and fluent assertion styles.
require
Package require provides assertion helpers that stop test execution on failure.
Package require provides assertion helpers that stop test execution on failure.

Jump to

Keyboard shortcuts

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