go-kit

module
v0.0.0-...-6ef4fb9 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT

README

Go-Kit (JDK 25 for Go)

Go Report Card Go Doc License Release

Bring the power of JDK 25's standard library to Go.

将 Java 强大的标准库体验带入 Go 语言世界,基于 Go 1.25+ 泛型与并发机制构建。

Go-Kit 是一个雄心勃勃的项目,旨在用 Go 语言原生重写 Java Development Kit (JDK) 25 的核心类库。它不是一个 JVM 模拟器,而是一套符合 Go 语言习惯 (Idiomatic) 的基础库,让开发者在 Go 中也能享受到 java.util, java.util.stream, java.util.concurrent 等成熟 API 的便利,同时拥有 Go 的极致性能。

✨ 特性 (Features)

  • 1:1 API 映射:核心类库(如 ArrayList, HashMap, CompletableFuture)保持与 JDK 25 一致的方法签名与行为。
  • 🚀 Go 原生泛型:完全基于 Go 1.18+ 泛型实现,无反射,类型安全。
  • 高性能并发java.util.concurrent 底层由 Goroutine 和 Channel 驱动,比 Java 线程更轻量。
  • 🌊 Stream API:完整的流式处理支持 (Filter, Map, Reduce, Collect)。
  • 🆕 JDK 25 Ready:包含最新的 SequencedCollection 和虚拟线程(Virtual Threads)概念映射。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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